compiler warning

This commit is contained in:
john30
2017-03-04 21:23:18 +01:00
parent 10b240fa68
commit fcdf6cb9a2
+1 -1
View File
@@ -187,7 +187,7 @@ class Message {
* @param key the key.
* @return the length field from the key.
*/
static size_t getKeyLength(uint64_t key) { return key >> (8 * 7 + 5); }
static size_t getKeyLength(uint64_t key) { return (size_t)(key >> (8 * 7 + 5)); }
/**
* Parse an ID part from the input @a string.