From ba841ee17af6b8a27b806c428ea76661fb40fc23 Mon Sep 17 00:00:00 2001 From: adustman Date: Thu, 22 Aug 2002 15:20:25 +0000 Subject: [PATCH] Clean up compiler warnings about assignment discards qualifiers from pointer target type --- MySQLdb/_mysql.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MySQLdb/_mysql.c b/MySQLdb/_mysql.c index ca20a5f..e086ded 100644 --- a/MySQLdb/_mysql.c +++ b/MySQLdb/_mysql.c @@ -1144,7 +1144,7 @@ _mysql_ConnectionObject_info( _mysql_ConnectionObject *self, PyObject *args) { - char *s; + const char *s; if (!PyArg_NoArgs(args)) return NULL; check_connection(self); s = mysql_info(&(self->connection)); @@ -1372,7 +1372,7 @@ _mysql_ConnectionObject_stat( _mysql_ConnectionObject *self, PyObject *args) { - char *s; + const char *s; if (!PyArg_NoArgs(args)) return NULL; check_connection(self); Py_BEGIN_ALLOW_THREADS