diff options
Diffstat (limited to 'src/pager.c')
-rw-r--r-- | src/pager.c | 2 |
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 */ |