Closed
Bug 612414
Opened 14 years ago
Closed 14 years ago
XrayWrapper.cpp:239:21: warning: converting to non-pointer type ‘uintN’ from NULL
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla2.0b8
People
(Reporter: dholbert, Assigned: dholbert)
Details
(Whiteboard: [build_warning])
Attachments
(1 file)
959 bytes,
patch
|
gal
:
review+
joe
:
approval2.0+
|
Details | Diff | Splinter Review |
> js/src/xpconnect/wrappers/XrayWrapper.cpp: In function ‘bool xpc::ResolveNativeProperty(JSContext*, JSObject*, JSObject*, jsid, bool, JSPropertyDescriptor*)’: > js/src/xpconnect/wrappers/XrayWrapper.cpp:239:21: warning: converting to non-pointer type ‘uintN’ from NULL Code: > 237 desc->getter = NULL; > 238 desc->setter = NULL; > 239 desc->shortid = NULL; > 240 desc->value = JSVAL_VOID; The "shortid" member var is a uintN (unsigned integer), so it should be set to 0 rather than null.
Assignee | ||
Comment 1•14 years ago
|
||
Assignee | ||
Updated•14 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Updated•14 years ago
|
Attachment #490717 -
Flags: review?(gal) → review+
Assignee | ||
Comment 2•14 years ago
|
||
Comment on attachment 490717 [details] [diff] [review] trivial fix Requesting landing approval. Trivial fix w/ no functional impact -- just a s/NULL/0/ to fix a build warning.
Attachment #490717 -
Flags: approval2.0?
Updated•14 years ago
|
Attachment #490717 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 3•14 years ago
|
||
Landed: http://hg.mozilla.org/mozilla-central/rev/6d7b682a3cc4
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
You need to log in
before you can comment on or make changes to this bug.
Description
•