[Webkit-unassigned] [Bug 138325] New: Web Inspector: Fix RWIProtocol 64-to-32 bit conversion warnings
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 3 13:26:44 PST 2014
https://bugs.webkit.org/show_bug.cgi?id=138325
Bug ID: 138325
Summary: Web Inspector: Fix RWIProtocol 64-to-32 bit conversion
warnings
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: joepeck at webkit.org
CC: burg at cs.washington.edu, graouts at webkit.org,
joepeck at webkit.org, timothy at apple.com,
webkit-bug-importer at group.apple.com
When building the ObjC Generated protocol files with warnings I see:
.../JavaScriptCore.framework/PrivateHeaders/InspectorValues.h:265:38: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Werror,-Wshorten-64-to-32]
.../DerivedSources/WebInspector/RWIProtocolBackendDispatchers.mm:397:58: error: implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int' [-Werror,-Wshorten-64-to-32]
.../DerivedSources/WebInspector/RWIProtocolEventDispatchers.mm:109:62: error: implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int' [-Werror,-Wshorten-64-to-32]
.../DerivedSources/WebInspector/RWIProtocolTypes.mm:70:23: error: implicit conversion loses integer precision: 'NSInteger' (aka 'long') to 'int' [-Werror,-Wshorten-64-to-32]
Instead of NSInteger for "integer" protocol types, we should just use "int" to match InspectorValue/InspectorObject's interface.
Note we can keep NS_ENUM(NSInteger) because those always get converted to/from WTF::Strings on the internal InspectorObject.
--
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/20141103/56a19c31/attachment-0002.html>
More information about the webkit-unassigned
mailing list