> 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.
Created attachment 490717 [details] [diff] [review] trivial fix
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #490717 - Flags: review?(gal)
8 years ago
OS: Linux → All
Hardware: x86_64 → All
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
Last Resolved: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
You need to log in before you can comment on or make changes to this bug.