diff options
author | Just van Rossum <just@letterror.com> | 2003-02-28 08:54:01 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2003-02-28 08:54:01 (GMT) |
commit | f4ecc751b1c640ab7932be714b099d2eb326d6b3 (patch) | |
tree | 7367a1058580759ccf69f9558ed8fe4470fdb93d /Modules/zipimport.c | |
parent | a72e2f9d100139b4a78b3b539909a6d42092e505 (diff) | |
download | cpython-f4ecc751b1c640ab7932be714b099d2eb326d6b3.zip cpython-f4ecc751b1c640ab7932be714b099d2eb326d6b3.tar.gz cpython-f4ecc751b1c640ab7932be714b099d2eb326d6b3.tar.bz2 |
use proper constant instead of comment (noted by nnorwitz)
Diffstat (limited to 'Modules/zipimport.c')
-rw-r--r-- | Modules/zipimport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c index 355f69c..cd615ef 100644 --- a/Modules/zipimport.c +++ b/Modules/zipimport.c @@ -664,7 +664,7 @@ read_directory(char *archive) "'%.200s'", archive); return NULL; } - fseek(fp, -22, 2); /* Seek from end of file */ + fseek(fp, -22, SEEK_END); header_end = ftell(fp); if (fread(endof_central_dir, 1, 22, fp) != 22) { fclose(fp); |