[Python-checkins] cpython: Fix a compiler warning: use unsiged for maxchar in unicode_widen()
victor.stinner
python-checkins at python.org
Wed Nov 9 00:02:18 CET 2011
http://hg.python.org/cpython/rev/349c6576d5d4
changeset: 73467:349c6576d5d4
user: Victor Stinner <victor.stinner at haypocalc.com>
date: Wed Nov 09 00:02:42 2011 +0100
summary:
Fix a compiler warning: use unsiged for maxchar in unicode_widen()
files:
Objects/unicodeobject.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -1556,7 +1556,7 @@
}
static int
-unicode_widen(PyObject **p_unicode, int maxchar)
+unicode_widen(PyObject **p_unicode, unsigned int maxchar)
{
PyObject *result;
assert(PyUnicode_IS_READY(*p_unicode));
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list