summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-06-04 22:22:34 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-06-04 22:22:34 (GMT)
commit8bda465caea1198d31bcce09f3d36007ff1f9fd2 (patch)
tree25b6371cdd9a7842dda08a4a456cec05a7cd8877
parent9f067f490fd27cdf423c15e797c4dcd868411002 (diff)
downloadcpython-8bda465caea1198d31bcce09f3d36007ff1f9fd2.zip
cpython-8bda465caea1198d31bcce09f3d36007ff1f9fd2.tar.gz
cpython-8bda465caea1198d31bcce09f3d36007ff1f9fd2.tar.bz2
Issue #9566: Fix compiler warning on Windows 64-bit
-rw-r--r--PC/getpathp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c
index daf61c9..308eb87 100644
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -434,7 +434,7 @@ find_env_config_value(FILE * env_file, const wchar_t * key, wchar_t * value)
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;