diff options
author | drh <drh@noemail.net> | 2009-02-16 16:23:09 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2009-02-16 16:23:09 +0000 |
commit | 38aec8dc09aefb79d7d1619f1e8a53e6da27c7d9 (patch) | |
tree | 3de67b7af33d4c470d21d459b61675e087461c27 /src | |
parent | f16ce3bc2ace94b0ca14117551100f0b23a3d07a (diff) | |
download | sqlite-38aec8dc09aefb79d7d1619f1e8a53e6da27c7d9.tar.gz sqlite-38aec8dc09aefb79d7d1619f1e8a53e6da27c7d9.zip |
Fix a compiler warning in backup.c. (CVS 6293)
FossilOrigin-Name: 82222fbf5d5a085ce3e2c172c648a4c6d9750626
Diffstat (limited to 'src')
-rw-r--r-- | src/backup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backup.c b/src/backup.c index aef1fd4b2..aa9ff3218 100644 --- a/src/backup.c +++ b/src/backup.c @@ -12,7 +12,7 @@ ** This file contains the implementation of the sqlite3_backup_XXX() ** API functions and the related features. ** -** $Id: backup.c,v 1.10 2009/02/12 17:01:50 danielk1977 Exp $ +** $Id: backup.c,v 1.11 2009/02/16 16:23:09 drh Exp $ */ #include "sqliteInt.h" #include "btreeInt.h" @@ -373,7 +373,7 @@ int sqlite3_backup_step(sqlite3_backup *p, int nPage){ if( nSrcPagesize<nDestPagesize ){ int ratio = nDestPagesize/nSrcPagesize; nDestTruncate = (nSrcPage+ratio-1)/ratio; - if( nDestTruncate==PENDING_BYTE_PAGE(p->pDest->pBt) ){ + if( nDestTruncate==(int)PENDING_BYTE_PAGE(p->pDest->pBt) ){ nDestTruncate--; } }else{ |