projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb079f1
)
Use Py_ssize_t to count the length.
author
Martin v. Löwis
<martin@v.loewis.de>
Thu, 16 Feb 2006 14:35:38 +0000
(14:35 +0000)
committer
Martin v. Löwis
<martin@v.loewis.de>
Thu, 16 Feb 2006 14:35:38 +0000
(14:35 +0000)
Parser/tokenizer.c
patch
|
blob
|
history
diff --git
a/Parser/tokenizer.c
b/Parser/tokenizer.c
index 646a7c1a505087c39d906482106da1e03196f3c1..dee8e846a19484c4284f79a1d56c59f5a6244f74 100644
(file)
--- 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;
-
in
t utf8len;
+
Py_ssize_
t utf8len;
/* Ask for one less byte so we can terminate it */
assert(size > 0);