summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-11-08 23:02:42 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-11-08 23:02:42 (GMT)
commit0a045efb49ba20717dba115bd309544bfae16303 (patch)
treea904e86e2492c2d52ef33a7344918b1c8cf17911 /Objects
parent596a6c4ffcf35de733959dd0e96f0176bf4f4c30 (diff)
downloadcpython-0a045efb49ba20717dba115bd309544bfae16303.zip
cpython-0a045efb49ba20717dba115bd309544bfae16303.tar.gz
cpython-0a045efb49ba20717dba115bd309544bfae16303.tar.bz2
Fix a compiler warning: use unsiged for maxchar in unicode_widen()
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 477827a0..26f2c8b 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -1556,7 +1556,7 @@ PyUnicode_Resize(PyObject **p_unicode, Py_ssize_t length)
}
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));