[Webkit-unassigned] [Bug 282313] New: ImageDiff/skia/PlatformImageSkia.cpp: error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned long long')

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 29 19:31:59 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=282313

            Bug ID: 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
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241030/98525687/attachment.htm>


More information about the webkit-unassigned mailing list