]> git.saurik.com Git - apple/security.git/blobdiff - libsecurity_cdsa_utilities/lib/cssmpods.h
Security-55471.14.18.tar.gz
[apple/security.git] / libsecurity_cdsa_utilities / lib / cssmpods.h
index 1e5eab49be544394c30d5c7b4e97bb62783f3b6c..b154c7df93cabbdb9d759c683c7f26a7aa1ef7ef 100644 (file)
@@ -56,7 +56,7 @@ public:
     bool operator < (const CSSM_GUID &other) const
     { return memcmp(this, &other, sizeof(CSSM_GUID)) < 0; }
     size_t hash() const {      //@@@ revisit this hash
     bool operator < (const CSSM_GUID &other) const
     { return memcmp(this, &other, sizeof(CSSM_GUID)) < 0; }
     size_t hash() const {      //@@@ revisit this hash
-        return Data1 + Data2 << 3 + Data3 << 11 + Data4[3] + Data4[6] << 22;
+        return Data1 + (Data2 << 3) + (Data3 << 11) + (Data4[3]) + (Data4[6] << 22);
     }
 
     static const unsigned stringRepLength = 38;        // "{x8-x4-x4-x4-x12}"
     }
 
     static const unsigned stringRepLength = 38;        // "{x8-x4-x4-x4-x12}"