aboutsummaryrefslogtreecommitdiff
path: root/system/kernel/pdp_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'system/kernel/pdp_list.c')
-rw-r--r--system/kernel/pdp_list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/kernel/pdp_list.c b/system/kernel/pdp_list.c
index deeb7f1..8558e35 100644
--- a/system/kernel/pdp_list.c
+++ b/system/kernel/pdp_list.c
@@ -760,10 +760,10 @@ void pdp_list_pop_push(t_pdp_list *source, t_pdp_list *dest)
/* return element at index */
-t_pdp_word pdp_list_index(t_pdp_list *l, int index)
+t_pdp_word pdp_list_index(t_pdp_list *l, int indx)
{
t_pdp_atom *a;
- for (a = l->first; index--; a = a->next);
+ for (a = l->first; indx--; a = a->next);
return a->w;
}