commit | f15da6995b974238bc4af10bc260e4c209c13a1f | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Thu Apr 13 07:24:50 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Thu Apr 13 07:24:50 2006 +0000 |
tree | 4b862c778401d6a27ff865cb8bae25494993b7d7 | |
parent | 8ce358f5fe6884f284d24ee45f89d9473696a1bf [diff] [blame] |
Remove another INT_MAX limitation
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 489fd1f..668d6e4 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -225,8 +225,7 @@ */ unicode->str[0] = 0; unicode->str[length] = 0; - assert(length<INT_MAX); - unicode->length = (int)length; + unicode->length = length; unicode->hash = -1; unicode->defenc = NULL; return unicode;