diff Python/ast.c @ 36241:557e9b6ee7e1 legacy-trunk

alias_for_import_name(): Dueling compiler warnings ;-) Squash new warnings from VC 7.1 about mixing signed and unsigned types in comparisons. I can see why `len` was changed to size_t here, but don't see why `i` was also changed. Change `i` back to int.
author Tim Peters <tim.peters@gmail.com>
date Sun, 08 Jan 2006 02:25:34 +0000
parents d3f4c467e439
children 0f5189607264
line wrap: on
line diff
--- a/Python/ast.c	Sun Jan 08 02:19:07 2006 +0000
+++ b/Python/ast.c	Sun Jan 08 02:25:34 2006 +0000
@@ -2030,7 +2030,8 @@
                 return alias(NEW_IDENTIFIER(CHILD(n, 0)), NULL, c->c_arena);
             else {
                 /* Create a string of the form "a.b.c" */
-                size_t i, len;
+				int i;
+                size_t len;
                 char *s;
 
                 len = 0;