macro cleanup

This commit is contained in:
hladu357 2024-06-05 15:01:35 +02:00
parent 0c295a6827
commit 84ec123c75
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
#define INPUT_FILE "../data/routing-data"
#define READ_MODE "r"
#define GET_BIT(key, bit) (( key.i[ bit / (sizeof(unsigned) * 8) ] & (1 << ((sizeof(unsigned) * 8 - 1) - (bit % (sizeof(unsigned) * 8)))) ) != 0 )
#define GET_BIT(key, bit) ( ( key.l[ bit / 64 ] & (1ul << (63 - bit % 64)) ) != 0 )
trie_node_t create_node() {