Closed Bug 563407 Opened 10 years ago Closed 10 years ago

New compile warning: "format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘PtrBits’

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Assigned: tnikkel)

References

()

Details

(Whiteboard: [build_warning])

Attachments

(1 file)

Bug 561010's changeset http://hg.mozilla.org/mozilla-central/rev/0ce6c931a05b introduced two new compile warnings, on x86 linux:
> content/base/src/nsGenericElement.cpp:4806: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘PtrBits’
> content/base/src/nsTextNode.cpp:239: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 3 has type ‘PtrBits’

Timothy, mind investigating/fixing?
Attached patch patchSplinter Review
Assignee: nobody → tnikkel
Attachment #443171 - Flags: review?(jonas)
Whiteboard: [build_warning]
Landed
http://hg.mozilla.org/mozilla-central/rev/116e56d84770

but backed out because something in the push was causing orange
http://hg.mozilla.org/mozilla-central/rev/01befa5163ee
Duplicate of this bug: 564847
http://hg.mozilla.org/mozilla-central/rev/7ec3d8b1517c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.