summary refs log tree commit diff
path: root/locale/programs/ld-collate.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/ld-collate.c')
-rw-r--r--locale/programs/ld-collate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-collate.c b/locale/programs/ld-collate.c
index fcfdc817a0..905700322f 100644
--- a/locale/programs/ld-collate.c
+++ b/locale/programs/ld-collate.c
@@ -441,7 +441,7 @@ insert_value (struct linereader *ldfile, struct token *arg,
 					     arg->val.str.startwc);
 	}
       else if (find_entry (&collate->elem_table, arg->val.str.startmb,
-			   arg->val.str.lenmb, &elem) != 0)
+			   arg->val.str.lenmb, (void **) &elem) != 0)
 	/* It's also no collation element.  Therefore ignore it.  */
 	return;
     }