summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:35:38 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:35:38 (GMT)
commitf5adf1eb72c755c3f6183199656f18b12a1cb952 (patch)
treed0ecbd123efacdc92192d86e33fa44ccba72e026 /Parser
parenteb079f1c2533bcefcab3ef4c07b800e5bd37239f (diff)
downloadcpython-f5adf1eb72c755c3f6183199656f18b12a1cb952.zip
cpython-f5adf1eb72c755c3f6183199656f18b12a1cb952.tar.gz
cpython-f5adf1eb72c755c3f6183199656f18b12a1cb952.tar.bz2
Use Py_ssize_t to count the length.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/tokenizer.c2
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);