diff options
author | Nikita Popov <nikic@php.net> | 2015-07-17 20:18:25 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-07-17 20:18:25 +0200 |
commit | 5c95226d50e565b43d9e7f2d4ff4deeaf7ec8942 (patch) | |
tree | 309a2e9430f04fda13e808e1ea00b8b27f388116 /ext/pdo_sqlite | |
parent | 90d9adccec42559d08487ae144e947df30ab820e (diff) | |
download | php-git-5c95226d50e565b43d9e7f2d4ff4deeaf7ec8942.tar.gz |
Various warning fixes
Diffstat (limited to 'ext/pdo_sqlite')
-rw-r--r-- | ext/pdo_sqlite/sqlite_statement.c | 2 |
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 */ |