Add casts to memory allocation related calls
[deliverable/binutils-gdb.git] / gdb / tui / tui-io.c
index c7a092f15eb6364fb2b9d5103224514cfce7f569..6f81f0980ff73788fafd5f502b2fcd9dc46d55f0 100644 (file)
@@ -671,7 +671,7 @@ tui_expand_tabs (const char *string, int col)
     }
 
   /* Allocate the copy.  */
-  ret = q = xmalloc (strlen (string) + n_adjust + 1);
+  ret = q = (char *) xmalloc (strlen (string) + n_adjust + 1);
 
   /* 2. Copy the original string while replacing TABs with spaces.  */
   for (ncol = col, s = string; s; )
This page took 0.02511 seconds and 4 git commands to generate.