aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-28 14:50:07 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit1c4fab6ffb9bc0fd71d79ae047f1bd524134e122 (patch)
tree49baa9066bd0488de0f50dc4debc7ee47ae2ca26
parent6e6cdc4d9f0d7e4afdda67c97e7d7f13959e6134 (diff)
Typo
-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;