Not all libc support the %z format modifier added in C99...

This commit is contained in:
Yamagi Burmeister 2019-02-05 17:18:01 +01:00
parent f7706b2c06
commit 86d438708e

View file

@ -1627,7 +1627,7 @@ CMod_LoadEntityString(lump_t *l, char *name)
{ {
if (bufLen + 1 > sizeof(map_entitystring)) if (bufLen + 1 > sizeof(map_entitystring))
{ {
Com_Printf("CMod_LoadEntityString: .ent file %s too large: %i > %zu.\n", s, bufLen, sizeof(map_entitystring)); Com_Printf("CMod_LoadEntityString: .ent file %s too large: %i > %lu.\n", s, bufLen, (unsigned long)sizeof(map_entitystring));
FS_FreeFile(buffer); FS_FreeFile(buffer);
} }
else else