From b744cef654d037cee1c6c07d9c0b6ff073fd5604 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Wed, 25 Jan 2012 14:57:56 +0100 Subject: [PATCH] Fix temporary debug output (so, time_t is 8 bytes on some Windows builds) --- Python/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/import.c b/Python/import.c index 79cd70827ae..f9f3cdbbfbd 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 */ }