Skip to content

Commit

Permalink
Fix a harmless compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
D. Richard Hipp committed Jan 2, 2015
1 parent 69d742d commit 006c2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vdbesort.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ int sqlite3VdbeSorterInit(
u32 szPma = sqlite3GlobalConfig.szPma;
pSorter->mnPmaSize = szPma * pgsz;
mxCache = db->aDb[0].pSchema->cache_size;
if( mxCache<szPma ) mxCache = szPma;
if( mxCache<(int)szPma ) mxCache = (int)szPma;
pSorter->mxPmaSize = MIN((i64)mxCache*pgsz, SQLITE_MAX_PMASZ);

/* EVIDENCE-OF: R-26747-61719 When the application provides any amount of
Expand Down

0 comments on commit 006c2b2

Please sign in to comment.