1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fixes for various clang warnings.

FossilOrigin-Name: 87bf60637e5863c54c5e2d05aaaca0835b7aace8
This commit is contained in:
drh
2014-01-24 22:58:00 +00:00
parent 53bed45ecb
commit 693e671936
15 changed files with 55 additions and 45 deletions

View File

@@ -4097,7 +4097,7 @@ static int unixShmSystemLock(
#ifdef SQLITE_DEBUG
{ u16 mask;
OSTRACE(("SHM-LOCK "));
mask = ofst>31 ? 0xffffffff : (1<<(ofst+n)) - (1<<ofst);
mask = ofst>31 ? 0xffff : (1<<(ofst+n)) - (1<<ofst);
if( rc==SQLITE_OK ){
if( lockType==F_UNLCK ){
OSTRACE(("unlock %d ok", ofst));