diff options
author | DJ Delorie <dj@redhat.com> | 2002-09-20 13:45:20 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2002-09-20 13:45:20 +0000 |
commit | 585cc78f65f55dd5834911fbbe21b654c52f7bee (patch) | |
tree | a43a631b29706b85c9ab12c6c91181d2e7e07671 /libiberty/vasprintf.c | |
parent | 6d305052679525c19163606e9968d8c67b2ca4f2 (diff) | |
download | gdb-585cc78f65f55dd5834911fbbe21b654c52f7bee.zip gdb-585cc78f65f55dd5834911fbbe21b654c52f7bee.tar.gz gdb-585cc78f65f55dd5834911fbbe21b654c52f7bee.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/vasprintf.c')
-rw-r--r-- | libiberty/vasprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/vasprintf.c b/libiberty/vasprintf.c index d438225..aa20e5b 100644 --- a/libiberty/vasprintf.c +++ b/libiberty/vasprintf.c @@ -138,7 +138,7 @@ int_vasprintf (result, format, args) #ifdef TEST global_total_width = total_width; #endif - *result = malloc (total_width); + *result = (char *) malloc (total_width); if (*result != NULL) return vsprintf (*result, format, *args); else |