diff options
author | drh <drh@noemail.net> | 2014-01-24 22:58:00 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-01-24 22:58:00 +0000 |
commit | 693e671936cd7053e874186228b9b0454a643893 (patch) | |
tree | 4e0776d9f894fda382f18a621fe097777d4bbf21 /src/os_unix.c | |
parent | 53bed45ecb66ba6ddd835a448adebdb61c2a81dc (diff) | |
download | sqlite-693e671936cd7053e874186228b9b0454a643893.tar.gz sqlite-693e671936cd7053e874186228b9b0454a643893.zip |
Fixes for various clang warnings.
FossilOrigin-Name: 87bf60637e5863c54c5e2d05aaaca0835b7aace8
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 96cd5e619..b53955022 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -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)); |