diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-01-25 14:57:56 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-01-25 14:57:56 +0100 |
commit | b744cef654d037cee1c6c07d9c0b6ff073fd5604 (patch) | |
tree | f1696eb67afed6c6b68a3ee0086de45b3f8d3280 /Python/import.c | |
parent | 11cc480ed0d55086067bfed09eb74ed1ba3af562 (diff) | |
download | cpython-git-b744cef654d037cee1c6c07d9c0b6ff073fd5604.tar.gz |
Fix temporary debug output (so, time_t is 8 bytes on some Windows builds)
Diffstat (limited to 'Python/import.c')
-rw-r--r-- | Python/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c index 79cd70827a..f9f3cdbbfb 100644 --- a/Python/import.c +++ b/Python/import.c @@ -908,7 +908,7 @@ write_compiled_module(PyCodeObject *co, char *cpathname, struct stat *srcstat) /* Now write the true mtime */ fseek(fp, 4L, 0); if (mtime >= LONG_MAX) { - fprintf(stderr, "** mtime=%ld > %ld (%ld, %ld)\n", mtime, LONG_MAX, sizeof(time_t), sizeof(srcstat->st_mtime)); + fprintf(stderr, "** sizes=(%ld, %ld), mtime=%I64d >= %ld\n", sizeof(time_t), sizeof(srcstat->st_mtime), mtime, LONG_MAX); assert(0); /* can't get here */ } |