diff options
author | Guido van Rossum <guido@python.org> | 2000-06-28 22:00:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-06-28 22:00:02 (GMT) |
commit | 6da3434e037a281c771ad0fe37896920bfedd140 (patch) | |
tree | 62e6693804a2140d177126ba0754485ad44862cf /Parser/tokenizer.c | |
parent | 0ed1148b75de3ab7b969cc22c35bdb6273992954 (diff) | |
download | cpython-6da3434e037a281c771ad0fe37896920bfedd140.zip cpython-6da3434e037a281c771ad0fe37896920bfedd140.tar.gz cpython-6da3434e037a281c771ad0fe37896920bfedd140.tar.bz2 |
Trent Mick: familiar simple Win64 patches
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r-- | Parser/tokenizer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 7d9a273..3337c75 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -223,9 +223,9 @@ tok_nextc(tok) tok->done = E_EOF; } else if (tok->start != NULL) { - int start = tok->start - tok->buf; - int oldlen = tok->cur - tok->buf; - int newlen = oldlen + strlen(new); + size_t start = tok->start - tok->buf; + size_t oldlen = tok->cur - tok->buf; + size_t newlen = oldlen + strlen(new); char *buf = tok->buf; PyMem_RESIZE(buf, char, newlen+1); tok->lineno++; |