diff options
Diffstat (limited to 'src/pklib/explode.c')
-rw-r--r-- | src/pklib/explode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pklib/explode.c b/src/pklib/explode.c index 73c5004..9796173 100644 --- a/src/pklib/explode.c +++ b/src/pklib/explode.c @@ -455,7 +455,7 @@ static unsigned int Expand(TDcmpStruct * pWork) // Note that if the output buffer overflowed previously, the extra decompressed bytes // are stored in "out_buff_overflow", and they will now be // within decompressed part of the output buffer. - memcpy(pWork->out_buff, &pWork->out_buff[0x1000], pWork->outputPos - 0x1000); + memmove(pWork->out_buff, &pWork->out_buff[0x1000], pWork->outputPos - 0x1000); pWork->outputPos -= 0x1000; } } |