diff options
author | shane <shane@noemail.net> | 2009-06-01 16:53:09 +0000 |
---|---|---|
committer | shane <shane@noemail.net> | 2009-06-01 16:53:09 +0000 |
commit | cf6973963aabbd79cb4263a3767c99ea4253b86b (patch) | |
tree | 0ece7905ffd24f122b7e64f8cd8ba88bb8a92910 /src/build.c | |
parent | 739a277031a0c2d3ece893f9a8e6277fc7e65f65 (diff) | |
download | sqlite-cf6973963aabbd79cb4263a3767c99ea4253b86b.tar.gz sqlite-cf6973963aabbd79cb4263a3767c99ea4253b86b.zip |
Fix compiler warnings with MSVC build. (CVS 6699)
FossilOrigin-Name: 0791588520603d106aa0b8ce24d68b740b7b80c8
Diffstat (limited to 'src/build.c')
-rw-r--r-- | src/build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build.c b/src/build.c index 93548aff6..d231338f2 100644 --- a/src/build.c +++ b/src/build.c @@ -22,7 +22,7 @@ ** COMMIT ** ROLLBACK ** -** $Id: build.c,v 1.547 2009/05/28 21:04:38 drh Exp $ +** $Id: build.c,v 1.548 2009/06/01 16:53:10 shane Exp $ */ #include "sqliteInt.h" @@ -1089,7 +1089,7 @@ void sqlite3AddDefaultValue(Parse *pParse, ExprSpan *pSpan){ pCol->pDflt = sqlite3ExprDup(db, pSpan->pExpr, EXPRDUP_REDUCE); sqlite3DbFree(db, pCol->zDflt); pCol->zDflt = sqlite3DbStrNDup(db, (char*)pSpan->zStart, - pSpan->zEnd - pSpan->zStart); + (int)(pSpan->zEnd - pSpan->zStart)); } } sqlite3ExprDelete(db, pSpan->pExpr); |