examples: don't use C99 %zu

this would require a PRIuS or similar macro for proper platform
compatibility (Visual Studio for instance would be variants of %lu)

Change-Id: I1af530c7c358c91b845acde1d8c12ef46c2ef746
This commit is contained in:
James Zern
2013-03-20 16:59:35 -07:00
parent 5ccf1fe540
commit 14d42af207
5 changed files with 16 additions and 15 deletions

View File

@ -44,8 +44,8 @@ int ExUtilReadFile(const char* const file_name,
fclose(in);
if (!ok) {
fprintf(stderr, "Could not read %zu bytes of data from file %s\n",
file_size, file_name);
fprintf(stderr, "Could not read %d bytes of data from file %s\n",
(int)file_size, file_name);
free(file_data);
return 0;
}