--- SheepShaver/src/gfxaccel.cpp 2005/01/30 21:48:19 1.3 +++ SheepShaver/src/gfxaccel.cpp 2006/05/07 10:49:48 1.4 @@ -378,9 +378,9 @@ bool NQD_bitblt_hook(uint32 p) ReadMacInt32(p + 0x130) == 0 && ReadMacInt32(p + acclSrcPixelSize) >= 8 && ReadMacInt32(p + acclSrcPixelSize) == ReadMacInt32(p + acclDestPixelSize) && - (ReadMacInt32(p + acclSrcRowBytes) ^ ReadMacInt32(p + acclDestRowBytes)) >= 0 && // same sign? - ReadMacInt32(p + acclTransferMode) == 0 && // srcCopy? - ReadMacInt32(p + 0x15c) > 0) { + (int32)(ReadMacInt32(p + acclSrcRowBytes) ^ ReadMacInt32(p + acclDestRowBytes)) >= 0 && // same sign? + ReadMacInt32(p + acclTransferMode) == 0 && // srcCopy? + (int32)ReadMacInt32(p + 0x15c) > 0) { // Yes, set function pointer WriteMacInt32(p + acclDrawProc, NativeTVECT(NATIVE_BITBLT));