Use %z modifiert to print a size_t.

This fixes a gcc warning on Win32.
This commit is contained in:
Yamagi Burmeister 2018-12-20 17:59:19 +01:00
parent aa57ec9f7b
commit 380642468b

View file

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