summaryrefslogtreecommitdiffstats
path: root/test/titerate.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/titerate.c')
-rw-r--r--test/titerate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/titerate.c b/test/titerate.c
index b50913d..50c26ee 100644
--- a/test/titerate.c
+++ b/test/titerate.c
@@ -70,7 +70,7 @@ herr_t aiter_cb(hid_t loc_id, const char *name, void *op_data);
****************************************************************/
int iter_strcmp(const void *s1, const void *s2)
{
- return(strcmp(*(const char **)s1,*(const char **)s2));
+ return(strcmp(*(const char * const *)s1,*(const char * const *)s2));
}
/****************************************************************