Changeset 285150 in webkit
- Timestamp:
- Nov 1, 2021, 7:30:27 PM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r285142 r285150 1 2021-11-01 Fujii Hironori <Hironori.Fujii@sony.com> 2 3 ImageDiff.cpp(74): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 2 has type 'size_t' 4 https://bugs.webkit.org/show_bug.cgi?id=232596 5 6 Reviewed by Don Olmstead. 7 8 Since r284764, MSVC reports the following warning and a suggestion. 9 10 > Tools\ImageDiff\ImageDiff.cpp(74): warning C4477: 'fprintf' : format string '%lu' requires an argument of type 'unsigned long', but variadic argument 2 has type 'size_t' 11 > Tools\ImageDiff\ImageDiff.cpp(74): note: consider using '%zu' in the format string 12 13 * ImageDiff/ImageDiff.cpp: 14 (processImages): Use %zu for size_t. 15 1 16 2021-11-01 Jonathan Bedard <jbedard@apple.com> 2 17 -
trunk/Tools/ImageDiff/ImageDiff.cpp
r285109 r285150 72 72 73 73 if (printDifference) 74 fprintf(stdout, "maxDifference=%u; totalPixels=% lu\n", differenceData.maxDifference, differenceData.totalPixels);74 fprintf(stdout, "maxDifference=%u; totalPixels=%zu\n", differenceData.maxDifference, differenceData.totalPixels); 75 75 76 76 fprintf(stdout, "#EOF\n");
Note:
See TracChangeset
for help on using the changeset viewer.