aboutsummaryrefslogtreecommitdiff
path: root/libobjc/objc/objc-list.h
diff options
context:
space:
mode:
Diffstat (limited to 'libobjc/objc/objc-list.h')
-rw-r--r--libobjc/objc/objc-list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libobjc/objc/objc-list.h b/libobjc/objc/objc-list.h
index de083a5..318c686 100644
--- a/libobjc/objc/objc-list.h
+++ b/libobjc/objc/objc-list.h
@@ -64,9 +64,9 @@ list_length(struct objc_list* list)
larger than the list length, NULL is returned */
static inline void*
-list_nth(int index, struct objc_list* list)
+list_nth(int indx, struct objc_list* list)
{
- while(index-- != 0)
+ while(indx-- != 0)
{
if(list->tail)
list = list->tail;