Fix cache implementation

This commit is contained in:
Behdad Esfahbod committed 2012-06-09 01:43:20 -04:00
1 parent ce47613889
commit 46617a4213
1 file changed
+2
+2
View File
@@ -49,6 +49,8 @@ struct hb_cache_t
unsigned int v = values[k];
if ((v >> value_bits) != (key >> cache_bits))
return false;
*value = v & ((1<<value_bits)-1);
return true;
}
inline bool set (unsigned int key, unsigned int value)