mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 21:18:35 +00:00
Bug 834072: Fix build warnings in uriloader/exthandler/android. r=kats
This commit is contained in:
parent
123f4ad435
commit
bbb94e8a2e
@ -25,9 +25,9 @@ public:
|
||||
private:
|
||||
nsString mName;
|
||||
nsString mDescription;
|
||||
nsCString mMimeType;
|
||||
nsString mClassName;
|
||||
nsString mPackageName;
|
||||
nsString mClassName;
|
||||
nsCString mMimeType;
|
||||
nsString mAction;
|
||||
};
|
||||
#endif
|
||||
|
@ -57,7 +57,7 @@ nsExternalSharingAppService::GetSharingApps(const nsAString & aMIMEType,
|
||||
*aHandlers =
|
||||
static_cast<nsISharingHandlerApp**>(NS_Alloc(sizeof(nsISharingHandlerApp*)
|
||||
* *aLen));
|
||||
for (int i = 0; i < *aLen; i++) {
|
||||
for (uint32_t i = 0; i < *aLen; i++) {
|
||||
rv = array->QueryElementAt(i, nsISharingHandlerApp::GetIID(),
|
||||
(void**)(*aHandlers + i));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user