Merge pull request #984 from t-mat/fix-wconversion-warning

Fix -Wshorten-64-to-32 warning
This commit is contained in:
Yann Collet 2021-05-27 10:13:24 -07:00 committed by GitHub
commit d00319baab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ void test_compress(FILE* outFp, FILE* inpFp, void *dict, int dictSize)
while (ptr != offsetsEnd) {
write_int(outFp, *ptr++);
}
write_int(outFp, offsetsEnd - offsets);
write_int(outFp, (int) (offsetsEnd - offsets));
}
}