Use correct format string for size_t args

This commit is contained in:
Mukund Sivaraman 2011-03-18 00:04:51 +05:30
parent 2deb14c9be
commit 584f9a35e7
1 changed files with 1 additions and 1 deletions

View File

@ -2018,7 +2018,7 @@ loadit (const gchar * fn)
s.com.numtexture = 0;
snprintf (fmt_str, sizeof (fmt_str), "%%d %%d %%%ds", sizeof (endbuf) - 1);
snprintf (fmt_str, sizeof (fmt_str), "%%d %%d %%%zus", sizeof (endbuf) - 1);
while (!feof (f))
{