[pypy-commit] pypy py3.5: fix issue 2657, but why is this even an exported API function?
mattip
pypy.commits at gmail.com
Fri Sep 15 03:57:53 EDT 2017
Author: Matti Picus <matti.picus at gmail.com>
Branch: py3.5
Changeset: r92399:d733a59858a7
Date: 2017-09-15 10:55 +0300
http://bitbucket.org/pypy/pypy/changeset/d733a59858a7/
Log: fix issue 2657, but why is this even an exported API function?
diff --git a/pypy/module/cpyext/include/unicodeobject.h b/pypy/module/cpyext/include/unicodeobject.h
--- a/pypy/module/cpyext/include/unicodeobject.h
+++ b/pypy/module/cpyext/include/unicodeobject.h
@@ -340,7 +340,7 @@
Py_LOCAL_INLINE(size_t) Py_UNICODE_strlen(const Py_UNICODE *u)
{
- int res = 0;
+ size_t res = 0;
while(*u++)
res++;
return res;
More information about the pypy-commit
mailing list