Closed Bug 615485 Opened 14 years ago Closed 14 years ago

warning: format '%11x' expects type 'unsigned int', but argument 3 has type 'PRUint64' in nsTextNode::List

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

Details

Attachments

(1 file, 1 obsolete file)

content/base/src/nsTextNode.cpp: In member function ‘virtual void nsTextNode::List(FILE*, PRInt32) const’:
241: warning: format ‘%11x’ expects type ‘unsigned int’, but argument 3 has type ‘PRUint64’
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #493921 - Flags: review?(bzbarsky)
Attachment #493921 - Flags: approval2.0?
Comment on attachment 493921 [details] [diff] [review]
mark 64bit as long long (11 digits can't be 32bits...)

Except you want to kill off the "11" part.  That should just be %llx (two lowercase 'L', then 'x').
Attachment #493921 - Flags: review?(bzbarsky)
Attachment #493921 - Flags: review+
Attachment #493921 - Flags: approval2.0?
Attachment #493921 - Flags: approval2.0+
Attached patch patchSplinter Review
Attachment #493921 - Attachment is obsolete: true
Attachment #495290 - Flags: review+
Keywords: checkin-needed
Pushed http://hg.mozilla.org/mozilla-central/rev/cc14f84709d4
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: