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:
@ -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);
|
||||
|
Reference in New Issue
Block a user