1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-08 03:22:21 +03:00

Removed compiler warnings from MSVC builds. Ticket #3701. (CVS 6335)

FossilOrigin-Name: 5477833ec7f707ea9937d3fd6a6d8ab49f2016f1
This commit is contained in:
shane
2009-03-05 03:48:06 +00:00
parent ce6fa1706a
commit c0688ea172
9 changed files with 49 additions and 32 deletions

View File

@@ -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.416 2009/02/24 10:14:40 danielk1977 Exp $
** $Id: expr.c,v 1.417 2009/03/05 03:48:07 shane Exp $
*/
#include "sqliteInt.h"
@@ -494,7 +494,8 @@ void sqlite3ExprSpan(Expr *pExpr, Token *pLeft, Token *pRight){
assert( pLeft!=0 );
if( pExpr ){
pExpr->span.z = pLeft->z;
pExpr->span.n = pRight->n + (pRight->z - pLeft->z);
assert(pRight->z >= pLeft->z);
pExpr->span.n = pRight->n + (unsigned)(pRight->z - pLeft->z);
}
}