]> granicus.if.org Git - python/commitdiff
Issue #9566: Fix compiler warning on Windows 64-bit
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 4 Jun 2013 22:22:34 +0000 (00:22 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 4 Jun 2013 22:22:34 +0000 (00:22 +0200)
PC/getpathp.c

index daf61c990e6755003907fb27c59c4f78a3098d62..308eb87ed64ad7af18221dae93fd7193e30cdb5d 100644 (file)
@@ -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;