aboutsummaryrefslogtreecommitdiff
path: root/linked_list.inc.h
diff options
context:
space:
mode:
Diffstat (limited to 'linked_list.inc.h')
-rw-r--r--linked_list.inc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linked_list.inc.h b/linked_list.inc.h
index 831da5fb..6102720a 100644
--- a/linked_list.inc.h
+++ b/linked_list.inc.h
@@ -168,8 +168,8 @@ int RESET(LLIST(TYPE)) ( LLIST(TYPE)* llist ) {
FMT_F(LLIST(TYPE)) {
int seek = 0;
fmtf("(");
- FOR(LLIST(TYPE), link, this) {
- seek += FMT(TYPE)(link->value, buf + seek);
+ FOR(LLIST(TYPE), TYPE, v, this) {
+ seek += FMT(TYPE)(v, buf + seek);
fmtf(" ");
}
fmtf(")");