diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-16 14:32:27 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-16 14:32:27 (GMT) |
commit | eb079f1c2533bcefcab3ef4c07b800e5bd37239f (patch) | |
tree | 32ce8e1eafb2e93ef977649e3cb60a3c0ec0fc00 /Objects/unicodeobject.c | |
parent | ad0a4629beac0600c4c4c3167b0d68be57ca674e (diff) | |
download | cpython-eb079f1c2533bcefcab3ef4c07b800e5bd37239f.zip cpython-eb079f1c2533bcefcab3ef4c07b800e5bd37239f.tar.gz cpython-eb079f1c2533bcefcab3ef4c07b800e5bd37239f.tar.bz2 |
Use Py_ssize_t for counts and sizes.
Convert Py_ssize_t using PyInt_FromSsize_t
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 684706d..eaf9837 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -6541,7 +6541,7 @@ unicode_buffer_getsegcount(PyUnicodeObject *self, return 1; } -static int +static Py_ssize_t unicode_buffer_getcharbuf(PyUnicodeObject *self, Py_ssize_t index, const void **ptr) |