mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-20 06:36:52 +00:00
ensure that object versions are properly "masked" to 48-bit integers
This commit is contained in:
1 parent
ad2b5fe413
commit
060c036936
2 files changed
+4
-2
No files matched your search
@@ -91,7 +91,8 @@
|
||||
[(SOGoMAPIDBMessage *) sogoObject reloadIfNeeded];
|
||||
versionNbr = [properties objectForKey: @"version"];
|
||||
if (versionNbr)
|
||||
objectVersion = [versionNbr unsignedLongLongValue] >> 16;
|
||||
objectVersion = (([versionNbr unsignedLongLongValue] >> 16)
|
||||
& 0x0000ffffffffffffLL);
|
||||
else
|
||||
objectVersion = ULLONG_MAX;
|
||||
|
||||
|
||||
Reference in new issue
Block a user