[Python-checkins] r75909 - python/trunk/Modules/_io/_iomodule.h

mark.dickinson python-checkins at python.org
Wed Oct 28 08:47:32 CET 2009


Author: mark.dickinson
Date: Wed Oct 28 08:47:32 2009
New Revision: 75909

Log:
Fix format specifier for MSVC

Modified:
   python/trunk/Modules/_io/_iomodule.h

Modified: python/trunk/Modules/_io/_iomodule.h
==============================================================================
--- python/trunk/Modules/_io/_iomodule.h	(original)
+++ python/trunk/Modules/_io/_iomodule.h	Wed Oct 28 08:47:32 2009
@@ -91,7 +91,7 @@
 # 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
 


More information about the Python-checkins mailing list