]> granicus.if.org Git - python/commitdiff
Fix format specifier for MSVC
authorMark Dickinson <dickinsm@gmail.com>
Wed, 28 Oct 2009 07:47:32 +0000 (07:47 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Wed, 28 Oct 2009 07:47:32 +0000 (07:47 +0000)
Modules/_io/_iomodule.h

index b1a4c486499fab7bec9890b1b556814a2cbd9ae4..2bebc0c8709c47f049dfdbe685531d621cb8fd54 100644 (file)
@@ -91,7 +91,7 @@ typedef PY_LONG_LONG Py_off_t;
 # define PyLong_FromOff_t   PyLong_FromLongLong
 # define PY_OFF_T_MAX       PY_LLONG_MAX
 # define PY_OFF_T_MIN       PY_LLONG_MIN
-# define PY_PRIdOFF         "lld" /* format to use in printf with type off_t */
+# define PY_PRIdOFF         "I64d" /* format to use in printf with type off_t */
 # define PY_OFF_T_COMPAT    PY_LONG_LONG /* type compatible with off_t */
 #else