Closed
Bug 1125693
Opened 8 years ago
Closed 8 years ago
Fix -Wformat warning in xpcom/base/nsStackWalk.cpp and mark as FAIL_ON_WARNINGS
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: cpeterson, Assigned: cpeterson)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.59 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
clang warns that aLOffset is ptrdiff_t (signed int), but the format string specifier is PRIxPTR, which assumes unsigned uintptr_t: xpcom/base/nsStackWalk.cpp:1138:48: warning: format specifies type 'unsigned long' but the argument has type 'ptrdiff_t' (aka 'int') [-Wformat] This is the last warning in the xpcom/base directory, so we can mark it as FAIL_ON_WARNINGS for all platforms.
Attachment #8554344 -
Flags: review?(continuation)
Updated•8 years ago
|
Attachment #8554344 -
Flags: review?(continuation) → review?(n.nethercote)
![]() |
||
Updated•8 years ago
|
Attachment #8554344 -
Flags: review?(n.nethercote) → review+
Assignee | ||
Comment 1•8 years ago
|
||
Thanks! https://hg.mozilla.org/integration/mozilla-inbound/rev/23943d3f9c0e
Comment 2•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/23943d3f9c0e
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•