]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - include/c++/util/radix.h
build fixes
[polintos/scott/priv.git] / include / c++ / util / radix.h
index 3dcaaaf993a156099a968b76517215449ac2d910..c3ab842c82748e710061a832fffaec2370d5a19c 100644 (file)
@@ -11,7 +11,6 @@
 #ifndef _UTIL_RADIX_H
 #define _UTIL_RADIX_H
 
-#include <assert.h>
 #include <stddef.h>
 #include <stdint.h>
 
@@ -65,7 +64,7 @@ namespace Util {
                        return (key >> shift) & (dir_size - 1);
                }
 
-               static uint key_to_offset(Key key)
+               static unsigned int key_to_offset(Key key)
                {
                        return key & (node_size - 1);
                }