Temporary vfnprintg() workaround to suppress warnings
This commit is contained in:
parent
0dac6b4d0f
commit
cd0383d3e8
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ int vfnprintg(GFILE *f, int maxlen, const char *fmt, va_list arg) {
|
||||||
case 's':
|
case 's':
|
||||||
filler = ' ';
|
filler = ' ';
|
||||||
if ((s = va_arg(arg, char *)) == 0)
|
if ((s = va_arg(arg, char *)) == 0)
|
||||||
s = "(null)";
|
s = (char*)"(null)";
|
||||||
if (precision == 0)
|
if (precision == 0)
|
||||||
precision = 32767;
|
precision = 32767;
|
||||||
for (p = s; *p && (--precision >= 0); p++);
|
for (p = s; *p && (--precision >= 0); p++);
|
||||||
|
|
Loading…
Add table
Reference in a new issue