Closed Bug 1626656 Opened 4 months ago Closed 4 months ago

Fix -Wformat-signedness errors

Categories

(Core :: JavaScript Engine, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: anba, Assigned: anba)

Details

Attachments

(5 files)

Compile with gcc and "-Wformat-signedness" and fix any errors about mismatching format specifiers.

Pushed by ccoroiu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/22f6de96a391
Part 1: Change format specifier %d to %u for MDefinition::id(). r=jandem
https://hg.mozilla.org/integration/autoland/rev/3fd4e08317fc
Part 2: Change printf %d to %u specifier for unsigned integers. r=jandem
https://hg.mozilla.org/integration/autoland/rev/faf857df9241
Part 3: Change printf %u to %d specifier for signed integers. r=jandem
https://hg.mozilla.org/integration/autoland/rev/5aa4b8628656
Part 4: Add explicit casts to printf arguments to match either %d or %u specifier. r=jandem
https://hg.mozilla.org/integration/autoland/rev/4b7d776fd4cb
Part 5: Add explicit casts to printf arguments for the x64 assembler to match either %d or %u specifier. r=jandem
Type: task → defect
Priority: -- → P1
You need to log in before you can comment on or make changes to this bug.