Commit ea4d2909 authored by Karl Heuer's avatar Karl Heuer

(format1): Cast arg of doprnt.

parent cc04c679
......@@ -1917,9 +1917,9 @@ format1 (string1)
args[2] = arg2;
args[3] = arg3;
args[4] = arg4;
doprnt (buf, sizeof buf, string1, 0, 5, args);
doprnt (buf, sizeof buf, string1, (char *)0, 5, args);
#else
doprnt (buf, sizeof buf, string1, 0, 5, &string1 + 1);
doprnt (buf, sizeof buf, string1, (char *)0, 5, &string1 + 1);
#endif
return build_string (buf);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment