diff options
author | drh <drh@noemail.net> | 2006-01-03 15:16:26 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2006-01-03 15:16:26 +0000 |
commit | f93339decbd89d4582791886b020addd2b28e409 (patch) | |
tree | eeae97f459cc99a7b729aafb3528a95ed1675bfb /src/expr.c | |
parent | 34e84942027b937d3e9513b97ed5ba97ddee0e40 (diff) | |
download | sqlite-f93339decbd89d4582791886b020addd2b28e409.tar.gz sqlite-f93339decbd89d4582791886b020addd2b28e409.zip |
Always case 0 to (char*) on varargs functions. Otherwise there are problems
on 64-bit machines. (CVS 2854)
FossilOrigin-Name: 837dc77ff9f5271b7e1bb8602fc021670c7802d1
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/expr.c b/src/expr.c index b3e26a6fd..d56b81943 100644 --- a/src/expr.c +++ b/src/expr.c @@ -12,7 +12,7 @@ ** This file contains routines used for analyzing expressions and ** for generating VDBE code that evaluates expressions in SQLite. ** -** $Id: expr.c,v 1.242 2005/12/09 20:02:05 drh Exp $ +** $Id: expr.c,v 1.243 2006/01/03 15:16:26 drh Exp $ */ #include "sqliteInt.h" #include <ctype.h> @@ -1005,9 +1005,9 @@ static int lookupName( char *zErr; zErr = cnt==0 ? "no such column: %s" : "ambiguous column name: %s"; if( zDb ){ - sqlite3SetString(&z, zDb, ".", zTab, ".", zCol, 0); + sqlite3SetString(&z, zDb, ".", zTab, ".", zCol, (char*)0); }else if( zTab ){ - sqlite3SetString(&z, zTab, ".", zCol, 0); + sqlite3SetString(&z, zTab, ".", zCol, (char*)0); }else{ z = sqliteStrDup(zCol); } |