[Python-checkins] r67945 - python/branches/py3k/Objects/unicodeobject.c

hirokazu.yamamoto python-checkins at python.org
Sat Dec 27 15:58:17 CET 2008


Author: hirokazu.yamamoto
Date: Sat Dec 27 15:58:17 2008
New Revision: 67945

Log:
Fixed incompatible pointer warning.

Modified:
   python/branches/py3k/Objects/unicodeobject.c

Modified: python/branches/py3k/Objects/unicodeobject.c
==============================================================================
--- python/branches/py3k/Objects/unicodeobject.c	(original)
+++ python/branches/py3k/Objects/unicodeobject.c	Sat Dec 27 15:58:17 2008
@@ -4111,7 +4111,7 @@
     else {
 	/* Extend string object */
 	n = PyBytes_Size(*repr);
-	if (_PyBytes_Resize(&repr, n + mbcssize) < 0)
+	if (_PyBytes_Resize(repr, n + mbcssize) < 0)
 	    return -1;
     }
 


More information about the Python-checkins mailing list