windows build fixes
This commit is contained in:
parent
22e60ee228
commit
d2fe432828
3 changed files with 5 additions and 1 deletions
|
@ -72,7 +72,7 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
|
||||
// get length of file
|
||||
fseek(input_file, -sizeof(char), SEEK_END);
|
||||
fseek(input_file, (long)-sizeof(char), SEEK_END);
|
||||
size_t length = ftell(input_file);
|
||||
fseek(input_file, 0, SEEK_SET);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue