[Python-checkins] r46241 - python/trunk/Objects/stringobject.c

jack.diederich python-checkins at python.org
Thu May 25 20:47:15 CEST 2006


Author: jack.diederich
Date: Thu May 25 20:47:15 2006
New Revision: 46241

Modified:
   python/trunk/Objects/stringobject.c
Log:
* eliminate warning by reverting tmp_s type to 'const char*'

Modified: python/trunk/Objects/stringobject.c
==============================================================================
--- python/trunk/Objects/stringobject.c	(original)
+++ python/trunk/Objects/stringobject.c	Thu May 25 20:47:15 2006
@@ -3161,7 +3161,7 @@
 {
 	Py_ssize_t count = -1;
 	PyObject *from, *to;
-	char *tmp_s;
+	const char *tmp_s;
 	Py_ssize_t tmp_len;
 
 	if (!PyArg_ParseTuple(args, "OO|n:replace", &from, &to, &count))


More information about the Python-checkins mailing list