summaryrefslogtreecommitdiff
path: root/Modules/_sqlite
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-06-13 16:28:25 +0000
committerGuido van Rossum <guido@python.org>2007-06-13 16:28:25 +0000
commit6374bb5a699a6e21214bec2bbe2e527fd219b8ba (patch)
tree5124efe5460cb93e82b35147ee8023da848e6408 /Modules/_sqlite
parentfa331631d4154a3e462e4f50bb946ddb19c0542c (diff)
downloadcpython-git-6374bb5a699a6e21214bec2bbe2e527fd219b8ba.tar.gz
Shut up compiler warnings.
Diffstat (limited to 'Modules/_sqlite')
-rw-r--r--Modules/_sqlite/cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c
index cbb030e93c..4e813074a6 100644
--- a/Modules/_sqlite/cursor.c
+++ b/Modules/_sqlite/cursor.c
@@ -36,10 +36,10 @@
PyObject* pysqlite_cursor_iternext(pysqlite_Cursor* self);
-static pysqlite_StatementKind detect_statement_type(char* statement)
+static pysqlite_StatementKind detect_statement_type(const char* statement)
{
char buf[20];
- char* src;
+ const char* src;
char* dst;
src = statement;