From: Mark Dickinson Date: Wed, 28 Oct 2009 07:50:03 +0000 (+0000) Subject: Merged revisions 75911 via svnmerge from X-Git-Tag: v3.1.2rc1~390 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4bddf510c3b88e7ac67428bc67960ac449f83cf;p=python Merged revisions 75911 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r75911 | mark.dickinson | 2009-10-28 07:49:26 +0000 (Wed, 28 Oct 2009) | 9 lines 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 ........ ................ --- diff --git a/Modules/_io/_iomodule.h b/Modules/_io/_iomodule.h index 08589513a5..1383ffc6c8 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