From: Just van Rossum Date: Fri, 28 Feb 2003 08:54:01 +0000 (+0000) Subject: use proper constant instead of comment (noted by nnorwitz) X-Git-Tag: v2.3c1~1650 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4ecc751b1c640ab7932be714b099d2eb326d6b3;p=python use proper constant instead of comment (noted by nnorwitz) --- diff --git a/Modules/zipimport.c b/Modules/zipimport.c index 355f69c126..cd615ef97c 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);