Closed Bug 765116 Opened 13 years ago Closed 13 years ago

mozglue/android: fix gcc -Wall -pedantic warnings

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
minor

Tracking

(firefox16 fixed)

RESOLVED FIXED
Firefox 16
Tracking Status
firefox16 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

Details

Attachments

(2 files)

No description provided.
Part 1: mozglue/android: fix gcc -Wall warnings
Attachment #633361 - Flags: review?(mh+mozilla)
Part 2: mozglue/android: fix gcc -pedantic warnings gcc -pedantic warns about dlsym() casts because ISO C does not guarantee that sizeof(function pointer) == sizeof(void*), though that would be an unusual machine architecture. To suppress these warnings, this patch casts dlsym()'s return value from void* to uintptr_t to a function pointer.
Attachment #633362 - Flags: review?(mh+mozilla)
Attachment #633361 - Flags: review?(mh+mozilla) → review+
Attachment #633362 - Flags: review?(mh+mozilla) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: