Bug 282313
| Summary: | ImageDiff/skia/PlatformImageSkia.cpp: error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned long long') | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <fujii> |
| Component: | Tools / Tests | Assignee: | Fujii Hironori <fujii> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Fujii Hironori
Windows port can't compile PlatformImageSkia.cpp.
C:\webkit\wc\Tools\ImageDiff\skia\PlatformImageSkia.cpp(135,46): error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned long long') [-Werror,-Wformat]
135 | fprintf(stdout, "Content-Length: %lu\n", data->size());
| ~~~ ^~~~~~~~~~~~
| %zu
1 error generated.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Fujii Hironori
Pull request: https://github.com/WebKit/WebKit/pull/35927
EWS
Committed 285893@main (fdb86ab290e2): <https://commits.webkit.org/285893@main>
Reviewed commits have been landed. Closing PR #35927 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/138906139>