Closed
Bug 1357873
Opened 8 years ago
Closed 8 years ago
Fix printf format strings on AArch64 Android
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox55 fixed)
RESOLVED
FIXED
Firefox 55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: jchen, Assigned: jchen)
References
Details
Attachments
(4 files)
2.30 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
1.26 KB,
patch
|
heycam
:
review+
|
Details | Diff | Splinter Review |
3.01 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
1.56 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
On 64-bit Android, the inttypes.h macros for [u]int_fastN_t types (e.g.
int_fast16_t) use "d", "u", etc. as the format specifier, but the types
themselves are defined as `long`, `unsigned long`, etc. This patch
redefines the macros as `PRId64`, `PRIu64`, etc. to provide correct
behavior.
Attachment #8862532 -
Flags: review?(jwalden+bmo)
Assignee | ||
Comment 2•8 years ago
|
||
Use printf macros to accommodate AArch64 types.
Attachment #8862533 -
Flags: review?(cam)
Assignee | ||
Comment 3•8 years ago
|
||
Use printf macros to fix format warnings on AArch64.
Attachment #8862534 -
Flags: review?(cpearce)
Assignee | ||
Comment 4•8 years ago
|
||
Use printf macros to fix format warnings on AArch64.
Attachment #8862535 -
Flags: review?(rjesup)
Comment 5•8 years ago
|
||
Comment on attachment 8862534 [details] [diff] [review]
Fix format warning in omx-plugin (v1)
Review of attachment 8862534 [details] [diff] [review]:
-----------------------------------------------------------------
Please use mozreview.
Attachment #8862534 -
Flags: review?(cpearce) → review+
Comment 6•8 years ago
|
||
Comment on attachment 8862532 [details] [diff] [review]
Fix up 64-bit Android macros in IntegerPrintfMacros.h (v1)
Review of attachment 8862532 [details] [diff] [review]:
-----------------------------------------------------------------
Ugh.
Attachment #8862532 -
Flags: review?(jwalden+bmo) → review+
Updated•8 years ago
|
Attachment #8862533 -
Flags: review?(cam) → review+
Updated•8 years ago
|
Attachment #8862535 -
Flags: review?(rjesup) → review+
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8c4a408ed9e2
Fix up 64-bit Android macros in IntegerPrintfMacros.h; r=Waldo
https://hg.mozilla.org/integration/mozilla-inbound/rev/3d7080f299bd
Fix format warning in gfx; r=heycam
https://hg.mozilla.org/integration/mozilla-inbound/rev/ae1244b66761
Fix format warning in omx-plugin; r=cpearce
https://hg.mozilla.org/integration/mozilla-inbound/rev/60ef42b05139
Fix format warning in webrtc; r=jesup
Comment 8•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8c4a408ed9e2
https://hg.mozilla.org/mozilla-central/rev/3d7080f299bd
https://hg.mozilla.org/mozilla-central/rev/ae1244b66761
https://hg.mozilla.org/mozilla-central/rev/60ef42b05139
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•