aboutsummaryrefslogtreecommitdiff
path: root/src/pager.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-12-11 11:00:44 +0000
committerdrh <drh@noemail.net>2013-12-11 11:00:44 +0000
commita9ab481fca8e4828771c098d8ce77a0efd52684a (patch)
treef8e225c7d8a58eedf8aed93ee04711bef202a410 /src/pager.c
parent53cd96464894a49b22899455f20f76b86aef5acf (diff)
downloadsqlite-a9ab481fca8e4828771c098d8ce77a0efd52684a.tar.gz
sqlite-a9ab481fca8e4828771c098d8ce77a0efd52684a.zip
Fix harmless compiler warnings.
FossilOrigin-Name: a7e5fcd66659750eb2f4675082df324e7cf35427
Diffstat (limited to 'src/pager.c')
-rw-r--r--src/pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pager.c b/src/pager.c
index 8cbb50ce3..443a52326 100644
--- a/src/pager.c
+++ b/src/pager.c
@@ -5779,7 +5779,7 @@ int sqlite3PagerWrite(DbPage *pDbPage){
assert( pPager->eState!=PAGER_ERROR );
assert( assert_pager_state(pPager) );
- if( pPager->sectorSize > pPager->pageSize ){
+ if( pPager->sectorSize > (u32)pPager->pageSize ){
Pgno nPageCount; /* Total number of pages in database file */
Pgno pg1; /* First page of the sector pPg is located on. */
int nPage = 0; /* Number of pages starting at pg1 to journal */