Closed
Bug 772993
Opened 13 years ago
Closed 13 years ago
Compiler warnings in widget/android
Categories
(Core Graveyard :: Widget: Android, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla16
People
(Reporter: kats, Assigned: kats)
Details
Attachments
(1 file)
8.67 KB,
patch
|
cpeterson
:
review+
|
Details | Diff | Splinter Review |
/home/kats/zspace/mozilla-git/widget/android/AndroidJavaWrappers.cpp: In member function 'void mozilla::AndroidGeckoEvent::ReadPointArray(nsTArray<nsIntPoint>&, JNIEnv*, _jfieldID*, PRUint32)':
/home/kats/zspace/mozilla-git/widget/android/AndroidJavaWrappers.cpp:310: warning: comparison between signed and unsigned integer expressions
/home/kats/zspace/mozilla-git/widget/android/AndroidJavaWrappers.cpp: In member function 'void mozilla::AndroidGeckoEvent::ReadIntArray(nsTArray<int>&, JNIEnv*, _jfieldID*, PRUint32)':
/home/kats/zspace/mozilla-git/widget/android/AndroidJavaWrappers.cpp:327: warning: comparison between signed and unsigned integer expressions
/home/kats/zspace/mozilla-git/widget/android/AndroidJavaWrappers.cpp: In member function 'void mozilla::AndroidGeckoEvent::ReadFloatArray(nsTArray<float>&, JNIEnv*, _jfieldID*, PRUint32)':
/home/kats/zspace/mozilla-git/widget/android/AndroidJavaWrappers.cpp:341: warning: comparison between signed and unsigned integer expressions
/home/kats/zspace/mozilla-git/widget/android/nsAppShell.cpp: In constructor 'ScreenshotRunnable::ScreenshotRunnable(nsIAndroidBrowserApp*, int, nsTArray<nsIntPoint>&, int, mozilla::RefCountedJavaObject*)':
/home/kats/zspace/mozilla-git/widget/android/nsAppShell.cpp:94: warning: 'ScreenshotRunnable::mTabId' will be initialized after
/home/kats/zspace/mozilla-git/widget/android/nsAppShell.cpp:93: warning: 'nsTArray<nsIntPoint> ScreenshotRunnable::mPoints'
/home/kats/zspace/mozilla-git/widget/android/nsAppShell.cpp:72: warning: when initialized here
/home/kats/zspace/mozilla-git/widget/android/nsAppShell.cpp: In member function 'void nsAppShell::PostEvent(mozilla::AndroidGeckoEvent*)':
/home/kats/zspace/mozilla-git/widget/android/nsAppShell.cpp:684: warning: comparison between signed and unsigned integer expressions
/home/kats/zspace/mozilla-git/widget/android/AndroidBridge.cpp: In member function 'void mozilla::AndroidBridge::GetSystemColors(mozilla::AndroidSystemColors*)':
/home/kats/zspace/mozilla-git/widget/android/AndroidBridge.cpp:1020: warning: comparison between signed and unsigned integer expressions
/home/kats/zspace/mozilla-git/widget/android/AndroidBridge.cpp:1030: warning: suggest parentheses around arithmetic in operand of '|'
/home/kats/zspace/mozilla-git/widget/android/AndroidBridge.cpp: In member function 'void mozilla::AndroidBridge::GetIconForExtension(const nsACString_internal&, PRUint32, PRUint8*)':
/home/kats/zspace/mozilla-git/widget/android/AndroidBridge.cpp:1067: warning: comparison between signed and unsigned integer expressions
/home/kats/zspace/mozilla-git/widget/android/AndroidBridge.cpp:1068: warning: comparison between signed and unsigned integer expressions
/home/kats/zspace/mozilla-git/widget/android/AndroidBridge.cpp: In member function 'bool mozilla::AndroidBridge::ValidateBitmap(_jobject*, int, int)':
/home/kats/zspace/mozilla-git/widget/android/AndroidBridge.cpp:1521: warning: comparison between signed and unsigned integer expressions
/home/kats/zspace/mozilla-git/widget/android/AndroidBridge.cpp:1521: warning: comparison between signed and unsigned integer expressions
/home/kats/zspace/mozilla-git/widget/android/AndroidBridge.cpp: In member function 'bool mozilla::AndroidBridge::LockWindow(void*, unsigned char**, int*, int*, int*, int*)':
/home/kats/zspace/mozilla-git/widget/android/AndroidBridge.cpp:1979: warning: 'typedef' was ignored in this declaration
Assignee | ||
Comment 1•13 years ago
|
||
since i'm waiting for a build anyway...
Assignee | ||
Comment 2•13 years ago
|
||
Pushed to try at https://tbpl.mozilla.org/?tree=Try&rev=df3bee014ce9 to make sure nothing breaks
Assignee | ||
Updated•13 years ago
|
Attachment #641169 -
Flags: review?(cpeterson)
Comment 3•13 years ago
|
||
Comment on attachment 641169 [details] [diff] [review]
Patch
LGTM. These warnings have been bugging me, too. :)
Attachment #641169 -
Flags: review?(cpeterson) → review+
Assignee | ||
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•