aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/appendvfs.c
diff options
context:
space:
mode:
authordrh <>2021-03-08 16:29:06 +0000
committerdrh <>2021-03-08 16:29:06 +0000
commitbaca9807f974ce20118f2a79a980af482209e320 (patch)
treebba0f3ec6bd93f66c8599d798eef82aee0d3879d /ext/misc/appendvfs.c
parent7ae0549961c5fc0bd3004eaa26d58f05b28b19ee (diff)
downloadsqlite-baca9807f974ce20118f2a79a980af482209e320.tar.gz
sqlite-baca9807f974ce20118f2a79a980af482209e320.zip
Fix a harmless compiler warning in appendvfs.c
FossilOrigin-Name: f538961a8058cc327d64c8ec317f1b4f8bbb604f90261160c6c27f26f4800682
Diffstat (limited to 'ext/misc/appendvfs.c')
-rw-r--r--ext/misc/appendvfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/misc/appendvfs.c b/ext/misc/appendvfs.c
index 3834da54c..d3844d423 100644
--- a/ext/misc/appendvfs.c
+++ b/ext/misc/appendvfs.c
@@ -491,7 +491,7 @@ static int apndIsOrdinaryDatabaseFile(sqlite3_int64 sz, sqlite3_file *pFile){
/* Round-up used to get appendvfs portion to begin at a page boundary. */
#define APND_START_ROUNDUP(fsz, nPageBits) \
- ((fsz) + ((1<<nPageBits)-1) & ~(sqlite3_int64)((1<<nPageBits)-1))
+ (((fsz) + ((1<<nPageBits)-1)) & ~(sqlite3_int64)((1<<nPageBits)-1))
/*
** Open an apnd file handle.