[Webkit-unassigned] [Bug 143541] New: Fix -Wformat in AnimationBase.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 8 17:06:37 PDT 2015


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

            Bug ID: 143541
           Summary: Fix -Wformat in AnimationBase.cpp
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com

Since r170070:

../../Source/WebCore/page/animation/AnimationBase.cpp:321:259: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘WebCore::AnimationBase::AnimationStateInput’ [-Wformat=]

This only occurs in debug builds.

We can either static_cast it to an int, or print it as a string.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150409/38884149/attachment.html>


More information about the webkit-unassigned mailing list