aboutsummaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.c b/array.c
index 0b03397c..6817a375 100644
--- a/array.c
+++ b/array.c
@@ -1433,8 +1433,8 @@ sort_up_index_number(const void *p1, const void *p2)
/* break a tie with the index string itself */
if (ret == 0)
- return sort_up_index_string((const void *) n1->sort_index,
- (const void *) n2->sort_index);
+ return sort_up_index_string((const void *) &n1->sort_index,
+ (const void *) &n2->sort_index);
return ret;
}