mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 989499 - mingw 64-bit fixup: use proper type in pointer cast to avoid losing precision.
This commit is contained in:
parent
5c24bf28ff
commit
d5958225ed
@ -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__)
|
||||||
|
Loading…
Reference in New Issue
Block a user