Bug 90477 - [Gtk][Gamepads] 'warning: comparison is always true due to limited range of data type [-Wtype-limits]' in GamepadsGtk.cpp
Summary: [Gtk][Gamepads] 'warning: comparison is always true due to limited range of d...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Zan Dobersek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-03 11:03 PDT by Zan Dobersek
Modified: 2012-07-03 12:12 PDT (History)
2 users (show)

See Also:


Attachments
Patch (1.66 KB, patch)
2012-07-03 11:06 PDT, Zan Dobersek
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zan Dobersek 2012-07-03 11:03:04 PDT
Return value of Vector::find() is assigned to a variable of unsigned type while size_t would be more appropriate.
Comment 1 Zan Dobersek 2012-07-03 11:06:48 PDT
Created attachment 150645 [details]
Patch
Comment 2 WebKit Review Bot 2012-07-03 12:12:32 PDT
Comment on attachment 150645 [details]
Patch

Clearing flags on attachment: 150645

Committed r121797: <http://trac.webkit.org/changeset/121797>
Comment 3 WebKit Review Bot 2012-07-03 12:12:39 PDT
All reviewed patches have been landed.  Closing bug.