[NTOS:CM] Add surrounding parentheses to GET_HASH_INDEX definition

This commit is contained in:
George Bișoc 2023-03-01 19:38:32 +01:00
parent 0e68e27ff6
commit a4213d491d
No known key found for this signature in database
GPG key ID: 688C4FBE25D7DEF6

View file

@ -16,7 +16,7 @@
// Returns the index into the hash table, or the entry itself
//
#define GET_HASH_INDEX(ConvKey) \
GET_HASH_KEY(ConvKey) % CmpHashTableSize
(GET_HASH_KEY(ConvKey) % CmpHashTableSize)
#define GET_HASH_ENTRY(Table, ConvKey) \
(&Table[GET_HASH_INDEX(ConvKey)])
#define ASSERT_VALID_HASH(h) \