Author: Matti Picus <[email protected]>
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;
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to