diff options
author | oskar <[email protected]> | 2024-05-11 14:29:07 +0200 |
---|---|---|
committer | oskar <[email protected]> | 2024-05-11 14:29:07 +0200 |
commit | 12e93b4847676ea40ae8a14be639b619449ac52c (patch) | |
tree | 18a4a67400d97c99597e14215d76abcfe14a325f /cs_linkedlist.c | |
parent | 96651caeeceeefd90a9449aece0e23599370fe9f (diff) |
all linked lists done, i might do some more improvements and code cleanup but the main stuff is done
Diffstat (limited to 'cs_linkedlist.c')
-rw-r--r-- | cs_linkedlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cs_linkedlist.c b/cs_linkedlist.c index 1bbbb38..657aeb8 100644 --- a/cs_linkedlist.c +++ b/cs_linkedlist.c @@ -57,7 +57,7 @@ int main () { uint64_t steps = 20; // amount of nodes to create struct waster *wr1 = llist(steps); // Create the nodes - while(passstep != passes) { + while(passstep < passes+1) { uint64_t steps_count = 0; |