Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 38311:c9dc300eee68 legacy-trunk
* eliminate warning by reverting tmp_s type to 'const char*'
| author | Jack Diederich <jackdied@gmail.com> |
|---|---|
| date | Thu, 25 May 2006 18:47:15 +0000 |
| parents | 2aa9409351d6 |
| children | 91c6c94490b1 |
line wrap: on
line diff
--- a/Objects/stringobject.c Thu May 25 18:44:50 2006 +0000 +++ b/Objects/stringobject.c Thu May 25 18:47:15 2006 +0000 @@ -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))
