From f4ecc751b1c640ab7932be714b099d2eb326d6b3 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Fri, 28 Feb 2003 08:54:01 +0000 Subject: [PATCH] use proper constant instead of comment (noted by nnorwitz) --- Modules/zipimport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0