Bug 989499 - mingw 64-bit fixup: use proper type in pointer cast to avoid losing precision.

This commit is contained in:
Jacek Caban 2015-11-16 15:56:46 +01:00
parent 5c24bf28ff
commit d5958225ed

View File

@ -1073,7 +1073,7 @@ FramePointerStackWalk(MozWalkStackCallback aCallback, uint32_t aSkipFrames,
// we can assume that bp > sp // we can assume that bp > sp
if (next <= bp || if (next <= bp ||
next > aStackEnd || next > aStackEnd ||
(long(next) & 3)) { (uintptr_t(next) & 3)) {
break; break;
} }
#if (defined(__ppc__) && defined(XP_MACOSX)) || defined(__powerpc64__) #if (defined(__ppc__) && defined(XP_MACOSX)) || defined(__powerpc64__)