1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-02 05:54:29 +03:00

Fix some compiler warnings. (CVS 2983)

FossilOrigin-Name: b7bdac0afd99b8dc03749877f675a5f782120295
This commit is contained in:
drh
2006-01-20 17:56:32 +00:00
parent 97a227c996
commit 24bd82c396
7 changed files with 21 additions and 27 deletions

View File

@@ -12,7 +12,7 @@
** Code for testing the client/server version of the SQLite library.
** Derived from test4.c.
**
** $Id: test7.c,v 1.2 2006/01/11 23:40:34 drh Exp $
** $Id: test7.c,v 1.3 2006/01/20 17:56:33 drh Exp $
*/
#include "sqliteInt.h"
#include "tcl.h"
@@ -526,7 +526,7 @@ static void do_step(Thread *p){
if( p->rc==SQLITE_ROW ){
p->argc = sqlite3_column_count(p->pStmt);
for(i=0; i<sqlite3_data_count(p->pStmt); i++){
p->argv[i] = sqlite3_column_text(p->pStmt, i);
p->argv[i] = (char*)sqlite3_column_text(p->pStmt, i);
}
for(i=0; i<p->argc; i++){
p->colv[i] = sqlite3_column_name(p->pStmt, i);