summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-10-28 07:49:26 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-10-28 07:49:26 (GMT)
commit60874b01f3e7ff8bbad13567e892a6bc5f16d6cd (patch)
tree648efb1f49e12cf117c47e0074e2e4b597065f4d
parentd4aea7116a439f9c75fb0d85c1b859789fd649ee (diff)
downloadcpython-60874b01f3e7ff8bbad13567e892a6bc5f16d6cd.zip
cpython-60874b01f3e7ff8bbad13567e892a6bc5f16d6cd.tar.gz
cpython-60874b01f3e7ff8bbad13567e892a6bc5f16d6cd.tar.bz2
Merged revisions 75909 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r75909 | mark.dickinson | 2009-10-28 07:47:32 +0000 (Wed, 28 Oct 2009) | 1 line Fix format specifier for MSVC ........
-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 0858951..1383ffc 100644
--- a/Modules/_io/_iomodule.h
+++ b/Modules/_io/_iomodule.h
@@ -86,7 +86,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