diff --git a/xpcom/build/nsWindowsDllInterceptor.h b/xpcom/build/nsWindowsDllInterceptor.h old mode 100644 new mode 100755 index b709118a3c5f..462dbbd20c8f --- a/xpcom/build/nsWindowsDllInterceptor.h +++ b/xpcom/build/nsWindowsDllInterceptor.h @@ -122,7 +122,7 @@ class WindowsDllNopSpacePatcher // (This should be nsTArray, but non-XPCOM code uses this class.) static const size_t maxPatchedFns = 16; byteptr_t mPatchedFns[maxPatchedFns]; - int mPatchedFnsLen; + size_t mPatchedFnsLen; public: WindowsDllNopSpacePatcher() @@ -135,7 +135,7 @@ public: { // Restore the mov edi, edi to the beginning of each function we patched. - for (int i = 0; i < mPatchedFnsLen; i++) { + for (size_t i = 0; i < mPatchedFnsLen; i++) { byteptr_t fn = mPatchedFns[i]; // Ensure we can write to the code.