[Python-checkins] cpython: Issue #9566: Fix compiler warning on Windows 64-bit

victor.stinner python-checkins at python.org
Wed Jun 5 00:25:16 CEST 2013


http://hg.python.org/cpython/rev/41b8be55b160
changeset:   84030:41b8be55b160
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Jun 05 00:22:34 2013 +0200
summary:
  Issue #9566: Fix compiler warning on Windows 64-bit

files:
  PC/getpathp.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/PC/getpathp.c b/PC/getpathp.c
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -434,7 +434,7 @@
         char * p = fgets(buffer, MAXPATHLEN*2, env_file);
         wchar_t tmpbuffer[MAXPATHLEN*2+1];
         PyObject * decoded;
-        int n;
+        size_t n;
 
         if (p == NULL)
             break;

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list