merge from gcc
[deliverable/binutils-gdb.git] / libiberty / vasprintf.c
index d438225fc1e4bc65d2bdb74bdd9ef41a209d44fb..aa20e5bff00214eaaa1c636f83116920f4a9b1b4 100644 (file)
@@ -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
This page took 0.023562 seconds and 4 git commands to generate.