removed some compiler warnings that indicate potential undefined behaviour
This commit is contained in:
@@ -104,7 +104,7 @@ static int _rarezip_uncompress(u8 **srcPtr, u8 **dstPtr, struct huft * arg2){
|
||||
int result;
|
||||
result = _rarezip_inflate(*srcPtr, *dstPtr, arg2);
|
||||
*dstPtr = *dstPtr + D_8027BF1C;
|
||||
*dstPtr = ((u32)*dstPtr & 0xF) ? ((u32)*dstPtr & -0x10) + 0x10: *dstPtr;
|
||||
*dstPtr = ((u32)*dstPtr & 0xF) ? (u8 *) ((u32)*dstPtr & -0x10) + 0x10: *dstPtr;
|
||||
*srcPtr = *srcPtr + D_8027BF18 + COMP_HEADER_SIZE;
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user