Add casts to memory allocation related calls
[deliverable/binutils-gdb.git] / gdb / common / xml-utils.c
index e928afb653a3e527ee8b612d441f8290bb6ca0bf..00e035621e6174b2c875c07dbbd8fe43534f5dd4 100644 (file)
@@ -49,7 +49,7 @@ xml_escape_text (const char *text)
       }
 
   /* Expand the result.  */
-  result = xmalloc (i + special + 1);
+  result = (char *) xmalloc (i + special + 1);
   for (i = 0, special = 0; text[i] != '\0'; i++)
     switch (text[i])
       {
This page took 0.029747 seconds and 4 git commands to generate.