aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-28 14:50:07 -0500
committertslil <tslil@posteo.de>2021-01-28 14:50:07 -0500
commit1fb10c5cfab5cbb8b6c2aff630294bcf7ac55a59 (patch)
tree49baa9066bd0488de0f50dc4debc7ee47ae2ca26 /include
parent6f17337761f6a196e89c5462a2ba53c8432b1a5d (diff)
Typo
Diffstat (limited to 'include')
-rw-r--r--include/tt_llcht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tt_llcht.c b/include/tt_llcht.c
index 03fa6cb..9cbf647 100644
--- a/include/tt_llcht.c
+++ b/include/tt_llcht.c
@@ -22,14 +22,14 @@ new_ll_node(const uint64_t key, const enum TT_FLAG flag,
// ===================================================================
int tt_init(void) {
- for (uint k=0; k<=TT_LLCHT_SIZE; k++)
+ for (uint32_t k=0; k<=TT_LLCHT_SIZE; k++)
table[k] = NULL;
return EXIT_SUCCESS;
}
void tt_free(void) {
tt_entry_t *n, *nn;
- for (uint k=0; k<=TT_LLCHT_SIZE; k++) {
+ for (uint32_t k=0; k<=TT_LLCHT_SIZE; k++) {
n = table[k];
while (n) {
nn = n->next;