1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

fix minor compilation condition

harness.c is not designed to pass  -Wdeclaration-after-statement
This commit is contained in:
Yann Collet
2019-09-06 16:51:16 -07:00
parent 2b0a271ed2
commit a3815d233c
3 changed files with 5 additions and 4 deletions

View File

@ -33,7 +33,7 @@ size_t read_file(const char *path, u8 **ptr) {
}
fseek(f, 0L, SEEK_END);
size_t size = ftell(f);
size_t size = (size_t)ftell(f);
rewind(f);
*ptr = malloc(size);