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

Fix compiler warnings on MSVC build.

FossilOrigin-Name: 01c4b5b84ec7ce589e20ea66e80011f092ab32f0
This commit is contained in:
shane
2009-11-03 19:42:30 +00:00
parent f16371d650
commit f639c40f77
7 changed files with 33 additions and 27 deletions

View File

@@ -407,7 +407,11 @@ Expr *sqlite3CreateColumnExpr(sqlite3 *db, SrcList *pSrc, int iSrc, int iCol){
if( p->pTab->iPKey==iCol ){
p->iColumn = -1;
}else{
#if SQLITE_MAX_VARIABLE_NUMBER<=32767
p->iColumn = (i16)iCol;
#else
p->iColumn = iCol;
#endif
pItem->colUsed |= ((Bitmask)1)<<(iCol>=BMS ? BMS-1 : iCol);
}
ExprSetProperty(p, EP_Resolved);