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 53a925bad8
commit c2d7396f8b

View File

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