Bug 142652 - Fix Debug build error 'comparison is always true due to limited range of data type [-Werror=type-limits]'
Summary: Fix Debug build error 'comparison is always true due to limited range of data...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-12 22:39 PDT by Joonghun Park
Modified: 2015-03-13 00:53 PDT (History)
6 users (show)

See Also:


Attachments
Patch (1.98 KB, patch)
2015-03-12 23:49 PDT, Joonghun Park
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joonghun Park 2015-03-12 22:39:17 PDT
Fix debug build error which is introduced by https://bugs.webkit.org/show_bug.cgi?id=142456 patch.
Now CSSPropertyID type is uint16_t, so propertyID >= 0 check is needed no more.
Comment 1 Joonghun Park 2015-03-12 23:49:46 PDT
Created attachment 248573 [details]
Patch
Comment 2 WebKit Commit Bot 2015-03-13 00:53:11 PDT
Comment on attachment 248573 [details]
Patch

Clearing flags on attachment: 248573

Committed r181475: <http://trac.webkit.org/changeset/181475>
Comment 3 WebKit Commit Bot 2015-03-13 00:53:17 PDT
All reviewed patches have been landed.  Closing bug.