| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a72e2f9 commit f4ecc75
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -664,7 +664,7 @@ read_directory(char *archive) | |||
| 664 | 664 | "'%.200s'", archive); | |
| 665 | 665 | return NULL; | |
| 666 | 666 | } | |
| 667 | - fseek(fp, -22, 2); /* Seek from end of file */ | ||
| 667 | + fseek(fp, -22, SEEK_END); | ||
| 668 | 668 | header_end = ftell(fp); | |
| 669 | 669 | if (fread(endof_central_dir, 1, 22, fp) != 22) { | |
| 670 | 670 | fclose(fp); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments