diff options
author | mistachkin <mistachkin@noemail.net> | 2013-08-28 01:54:12 +0000 |
---|---|---|
committer | mistachkin <mistachkin@noemail.net> | 2013-08-28 01:54:12 +0000 |
commit | f64188910dbc4a7152827b3dd532b3360fcb4512 (patch) | |
tree | edb61cc6e326249124f78cd42b3e305cb45c7acd /src/expr.c | |
parent | 4496a2329a0fd2f922e6f80fa7081294bd14a811 (diff) | |
download | sqlite-f64188910dbc4a7152827b3dd532b3360fcb4512.tar.gz sqlite-f64188910dbc4a7152827b3dd532b3360fcb4512.zip |
Fix several harmless compiler warnings. Fix a couple compiler issues with the shell.
FossilOrigin-Name: 8917e9f9a0802cbfb6f33e2ab1c2f98e4df5babd
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index dd4f5de15..aa6f27543 100644 --- a/src/expr.c +++ b/src/expr.c @@ -1278,7 +1278,7 @@ int sqlite3ExprIsInteger(Expr *p, int *pValue){ case TK_UMINUS: { int v; if( sqlite3ExprIsInteger(p->pLeft, &v) ){ - assert( v!=-2147483648 ); + assert( v!=(-2147483647-1) ); *pValue = -v; rc = 1; } |