diff options
author | drh <> | 2025-02-22 16:44:14 +0000 |
---|---|---|
committer | drh <> | 2025-02-22 16:44:14 +0000 |
commit | c071c47b51f39e2a186dbb87e1b7347d5590986d (patch) | |
tree | bfaafedd23d9890b73c216c18c058694ddcebb29 /src/btmutex.c | |
parent | 447f1c231284a8aad15350b67f42a9a417fc5ade (diff) | |
download | sqlite-c071c47b51f39e2a186dbb87e1b7347d5590986d.tar.gz sqlite-c071c47b51f39e2a186dbb87e1b7347d5590986d.zip |
Tamp down various harmless compiler warnings. Use "int" in places instead
of "u16" or "i16" since the compiler complains less and generates faster
code.
FossilOrigin-Name: 742827f049768c4f69ccdfaadfad339aaad3bc126d3a68b90cfea01d825bf7ce
Diffstat (limited to 'src/btmutex.c')
-rw-r--r-- | src/btmutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btmutex.c b/src/btmutex.c index 232831e03..620047c15 100644 --- a/src/btmutex.c +++ b/src/btmutex.c @@ -185,7 +185,7 @@ int sqlite3BtreeHoldsMutex(Btree *p){ */ static void SQLITE_NOINLINE btreeEnterAll(sqlite3 *db){ int i; - int skipOk = 1; + u8 skipOk = 1; Btree *p; assert( sqlite3_mutex_held(db->mutex) ); for(i=0; i<db->nDb; i++){ |