From 5db42c4c5088ce511d35c0a8942f563d95e13230 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sun, 8 Jan 2006 02:25:34 +0000 Subject: 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. --- Python/ast.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Python/ast.c b/Python/ast.c index 9b32f8b..94fc9e8 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -2030,7 +2030,8 @@ alias_for_import_name(struct compiling *c, const node *n) 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; -- cgit v0.12