mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 08:45:46 +00:00
Bug 1392618 Fix comparison between signed and unsigned integer expressions r=dmajor
MozReview-Commit-ID: JCfPClnoe2H --HG-- extra : rebase_source : c955d489024ae2cff82304ec4d0d9aca5dcb9ee0
This commit is contained in:
parent
8760e71649
commit
9206f7061c
4
xpcom/build/nsWindowsDllInterceptor.h
Normal file → Executable file
4
xpcom/build/nsWindowsDllInterceptor.h
Normal file → Executable file
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user