]> granicus.if.org Git - python/commitdiff
use proper constant instead of comment (noted by nnorwitz)
authorJust van Rossum <just@letterror.com>
Fri, 28 Feb 2003 08:54:01 +0000 (08:54 +0000)
committerJust van Rossum <just@letterror.com>
Fri, 28 Feb 2003 08:54:01 +0000 (08:54 +0000)
Modules/zipimport.c

index 355f69c1269e5a6cf20fec89c54ecbc37a0560e6..cd615ef97ca1f67488eba1d96dce828a3c6cd7bc 100644 (file)
@@ -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);