summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-10-28 07:47:32 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-10-28 07:47:32 (GMT)
commite8486931b69ee954a9a662c60a5f22a850a6bbeb (patch)
tree182dd562eaa9642705e3edfe2c86cf158999435a /Modules
parent791181b0fff18a59cc6661462cd393bee6f76182 (diff)
downloadcpython-e8486931b69ee954a9a662c60a5f22a850a6bbeb.zip
cpython-e8486931b69ee954a9a662c60a5f22a850a6bbeb.tar.gz
cpython-e8486931b69ee954a9a662c60a5f22a850a6bbeb.tar.bz2
Fix format specifier for MSVC
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_io/_iomodule.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/_iomodule.h b/Modules/_io/_iomodule.h
index b1a4c48..2bebc0c 100644
--- a/Modules/_io/_iomodule.h
+++ b/Modules/_io/_iomodule.h
@@ -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