Fix -Wshorten-64-to-32 warning
This commit is contained in:
parent
7a966c1511
commit
4a9bbc2480
@ -97,7 +97,7 @@ void test_compress(FILE* outFp, FILE* inpFp, void *dict, int dictSize)
|
|||||||
while (ptr != offsetsEnd) {
|
while (ptr != offsetsEnd) {
|
||||||
write_int(outFp, *ptr++);
|
write_int(outFp, *ptr++);
|
||||||
}
|
}
|
||||||
write_int(outFp, offsetsEnd - offsets);
|
write_int(outFp, (int) (offsetsEnd - offsets));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user