Created attachment 633361 [details] [diff] [review]
Part 1: mozglue/android: fix gcc -Wall warnings
Created attachment 633362 [details] [diff] [review]
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.