[Webkit-unassigned] [Bug 113170] New: WTF::binarySearchImpl() should compile wiht -Wshorten-64-to-32
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 24 21:03:21 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=113170
Summary: WTF::binarySearchImpl() should compile wiht
-Wshorten-64-to-32
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ddkilzer at webkit.org
CC: darin at apple.com, benjamin at webkit.org
Blocks: 107093
/usr/local/include/wtf/StdLibExtras.h:190:30: error: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Werror,-Wshorten-64-to-32]
int pos = (size - 1) >> 1;
~~~ ~~~~~~~~~~~^~~~
1 error generated.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list