diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-16 14:35:38 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-16 14:35:38 (GMT) |
commit | f5adf1eb72c755c3f6183199656f18b12a1cb952 (patch) | |
tree | d0ecbd123efacdc92192d86e33fa44ccba72e026 /Parser/tokenizer.c | |
parent | eb079f1c2533bcefcab3ef4c07b800e5bd37239f (diff) | |
download | cpython-f5adf1eb72c755c3f6183199656f18b12a1cb952.zip cpython-f5adf1eb72c755c3f6183199656f18b12a1cb952.tar.gz cpython-f5adf1eb72c755c3f6183199656f18b12a1cb952.tar.bz2 |
Use Py_ssize_t to count the length.
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r-- | Parser/tokenizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 646a7c1..dee8e84 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -370,7 +370,7 @@ fp_readl(char *s, int size, struct tok_state *tok) PyObject* utf8 = NULL; PyObject* buf = tok->decoding_buffer; char *str; - int utf8len; + Py_ssize_t utf8len; /* Ask for one less byte so we can terminate it */ assert(size > 0); |