mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 14:42:26 +00:00
TOON: Fix potential undefined operation warning
svn-id: r53131
This commit is contained in:
parent
aa89bbbcbd
commit
0c6c03bfd6
@ -499,8 +499,10 @@ int32 RncDecoder::unpackM2(const void *input, void *output) {
|
||||
|
||||
ofs_lo = *_srcPtr++;
|
||||
ofs = (ofs_hi << 8) | ofs_lo;
|
||||
while (len--)
|
||||
*_dstPtr++ = *(byte *)(_dstPtr - ofs - 1);
|
||||
while (len--) {
|
||||
*_dstPtr = *(byte *)(_dstPtr - ofs - 1);
|
||||
_dstPtr++;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user