diff options
Diffstat (limited to 'Python/traceback.c')
-rw-r--r-- | Python/traceback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/traceback.c b/Python/traceback.c index 3f80ef5..f9b840e 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -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; |