summaryrefslogtreecommitdiff
path: root/PC/getpathp.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-06-05 00:22:34 +0200
committerVictor Stinner <victor.stinner@gmail.com>2013-06-05 00:22:34 +0200
commita1d1ede8a8e189605fb46da1cbe2c48b82651457 (patch)
treee6e95c564fabef741995b8a450df999c80683bed /PC/getpathp.c
parent946cd11c3f84ad95c343a77b415e256baaa5e1bd (diff)
downloadcpython-a1d1ede8a8e189605fb46da1cbe2c48b82651457.tar.gz
Issue #9566: Fix compiler warning on Windows 64-bit
Diffstat (limited to 'PC/getpathp.c')
-rw-r--r--PC/getpathp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c
index daf61c990e..308eb87ed6 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;