Keep gcc -Wall and Microsoft VC happy.

This commit is contained in:
Guido van Rossum 1997-04-11 20:37:35 +00:00
parent 90126035ca
commit 6bf62dad9e
6 changed files with 31 additions and 28 deletions

View file

@ -196,7 +196,7 @@ tb_displayline(f, filename, lineno, name)
if (len + 1 + taillen >= MAXPATHLEN)
continue; /* Too long */
strcpy(namebuf, getstringvalue(v));
if (strlen(namebuf) != len)
if ((int)strlen(namebuf) != len)
continue; /* v contains '\0' */
if (len > 0 && namebuf[len-1] != SEP)
namebuf[len++] = SEP;