1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

Fix compiler warning

This commit is contained in:
jreiser@BitWagon.com 2016-09-05 20:32:52 -07:00 committed by Markus F.X.J. Oberhumer
parent 17f47d3c0a
commit 98b428a8be

View File

@ -538,7 +538,7 @@ ERR_LAB
else if (xi) { // cleanup if decompressor overrun crosses page boundary
mlen = ~PAGE_MASK & (3+ mlen);
if (mlen<=3) { // page fragment was overrun buffer only
munmap(addr, mlen);
munmap((char *)addr, mlen);
}
}
}