diff options
author | shane <shane@noemail.net> | 2009-11-03 19:42:30 +0000 |
---|---|---|
committer | shane <shane@noemail.net> | 2009-11-03 19:42:30 +0000 |
commit | f639c40f770f6d63fd8adef642b27e3314743a5a (patch) | |
tree | 89c3f72b26fb4684330c48f4ffee99070467b0a6 /src/vdbeaux.c | |
parent | f16371d650bb49073dbe7da68a47e1d8982807d3 (diff) | |
download | sqlite-f639c40f770f6d63fd8adef642b27e3314743a5a.tar.gz sqlite-f639c40f770f6d63fd8adef642b27e3314743a5a.zip |
Fix compiler warnings on MSVC build.
FossilOrigin-Name: 01c4b5b84ec7ce589e20ea66e80011f092ab32f0
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r-- | src/vdbeaux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c index a2936f304..37f8b1431 100644 --- a/src/vdbeaux.c +++ b/src/vdbeaux.c @@ -60,7 +60,7 @@ void sqlite3VdbeSetSql(Vdbe *p, const char *z, int n, int isPrepareV2){ #endif assert( p->zSql==0 ); p->zSql = sqlite3DbStrNDup(p->db, z, n); - p->isPrepareV2 = isPrepareV2; + p->isPrepareV2 = (u8)isPrepareV2; } /* @@ -1359,7 +1359,7 @@ void sqlite3VdbeMakeReady( p->nCursor = (u16)nCursor; if( p->aVar ){ - p->nVar = nVar; + p->nVar = (u16)nVar; for(n=0; n<nVar; n++){ p->aVar[n].flags = MEM_Null; p->aVar[n].db = db; |