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

@ -79,9 +79,9 @@ static int StoreICCP(j_decompress_ptr dinfo, MetadataPayload* const iccp) {
ICCPSegment* segment;
if (segment_size == 0 || count == 0 || seq == 0) {
fprintf(stderr, "[ICCP] size (%zu) / count (%d) / sequence number (%d)"
fprintf(stderr, "[ICCP] size (%d) / count (%d) / sequence number (%d)"
" cannot be 0!\n",
segment_size, seq, count);
(int)segment_size, seq, count);
return 0;
}