FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

use proper constant instead of comment (noted by nnorwitz) · pythoncapi/cpython@f4ecc75 · GitHub

forked from python/cpython

Commit f4ecc75

Browse files
committed
use proper constant instead of comment (noted by nnorwitz)
1 parent a72e2f9 commit f4ecc75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Modules/zipimport.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ read_directory(char *archive)
664664
"'%.200s'", archive);
665665
return NULL;
666666
}
667-
fseek(fp, -22, 2); /* Seek from end of file */
667+
fseek(fp, -22, SEEK_END);
668668
header_end = ftell(fp);
669669
if (fread(endof_central_dir, 1, 22, fp) != 22) {
670670
fclose(fp);

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL