Browse Source

Temporary vfnprintg() workaround to suppress warnings

Joel Bodenmann 2 months ago
parent
commit
cd0383d3e8
  1. 2
      src/gfile/gfile_printg.c

2
src/gfile/gfile_printg.c

@ -137,7 +137,7 @@ int vfnprintg(GFILE *f, int maxlen, const char *fmt, va_list arg) {
case 's':
filler = ' ';
if ((s = va_arg(arg, char *)) == 0)
s = "(null)";
s = (char*)"(null)";
if (precision == 0)
precision = 32767;
for (p = s; *p && (--precision >= 0); p++);

Loading…
Cancel
Save