summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-07-17 20:18:25 +0200
committerNikita Popov <nikic@php.net>2015-07-17 20:18:25 +0200
commit5c95226d50e565b43d9e7f2d4ff4deeaf7ec8942 (patch)
tree309a2e9430f04fda13e808e1ea00b8b27f388116 /ext/pdo_sqlite
parent90d9adccec42559d08487ae144e947df30ab820e (diff)
downloadphp-git-5c95226d50e565b43d9e7f2d4ff4deeaf7ec8942.tar.gz
Various warning fixes
Diffstat (limited to 'ext/pdo_sqlite')
-rw-r--r--ext/pdo_sqlite/sqlite_statement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_sqlite/sqlite_statement.c b/ext/pdo_sqlite/sqlite_statement.c
index 53d12a719d..9b74b24212 100644
--- a/ext/pdo_sqlite/sqlite_statement.c
+++ b/ext/pdo_sqlite/sqlite_statement.c
@@ -233,7 +233,7 @@ static int pdo_sqlite_stmt_fetch(pdo_stmt_t *stmt,
static int pdo_sqlite_stmt_describe(pdo_stmt_t *stmt, int colno)
{
pdo_sqlite_stmt *S = (pdo_sqlite_stmt*)stmt->driver_data;
- char *str;
+ const char *str;
if(colno >= sqlite3_column_count(S->stmt)) {
/* error invalid column */