]> granicus.if.org Git - python/commitdiff
Merged revisions 75909 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Wed, 28 Oct 2009 07:49:26 +0000 (07:49 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Wed, 28 Oct 2009 07:49:26 +0000 (07:49 +0000)
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
........

Modules/_io/_iomodule.h

index 08589513a5b71511c6435c8bda8f3103f7fefc21..1383ffc6c850101df7d5b068c2fbdcf95a8f71e7 100644 (file)
@@ -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