Skip to content

Commit

Permalink
fix printf formats
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkinben committed Oct 22, 2021
1 parent 706cf01 commit bb8ef26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion btree.h
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ uint32_t *internal_node_child(void *node, uint32_t cell_num)
uint32_t num_keys = *internal_node_num_keys(node);
if (cell_num > num_keys)
{
printf("[internal_node_child] Tried to access cell_num %d > num_keys %d\n", cell_num, num_keys);
printf("[internal_node_child] Tried to access cell_num %u > num_keys %u\n", cell_num, num_keys);
exit(EXIT_FAILURE);
}
else if (cell_num == num_keys)
Expand Down

0 comments on commit bb8ef26

Please sign in to comment.