]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - include/c++/util/radix.h
minor orb stuff
[polintos/scott/priv.git] / include / c++ / util / radix.h
index 3dcaaaf993a156099a968b76517215449ac2d910..be982a504d3b4a32df4fef4c33640349c26bf6ae 100644 (file)
 #ifndef _UTIL_RADIX_H
 #define _UTIL_RADIX_H
 
-#include <assert.h>
 #include <stddef.h>
 #include <stdint.h>
-
 #include <lowlevel/bitops.h>
 
 namespace Util {
@@ -65,7 +63,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);
                }