Closed Bug 612414 Opened 11 years ago Closed 11 years ago
Wrapper .cpp:239:21: warning: converting to non-pointer type ‘uint N’ from NULL
> 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: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #490717 - Flags: review?(gal)
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?
Attachment #490717 - Flags: approval2.0? → approval2.0+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
You need to log in before you can comment on or make changes to this bug.