summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/h5test.c')
-rw-r--r--test/h5test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.c b/test/h5test.c
index 4dff00d..755ae93 100644
--- a/test/h5test.c
+++ b/test/h5test.c
@@ -1195,7 +1195,7 @@ h5_set_info_object(void)
valp++;
/* copy key/value pair into temporary buffer */
- len = strcspn(valp, ";");
+ len = HDstrcspn(valp, ";");
next = &valp[len];
if (NULL == (key_val = (char *)HDcalloc(1, len + 1)))
return -1;