Commit 5db42c4c authored by Tim Peters's avatar Tim Peters

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.
parent d8fe7ab7
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment