summaryrefslogtreecommitdiffstats
path: root/test/gen_udlinks.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gen_udlinks.c')
-rw-r--r--test/gen_udlinks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gen_udlinks.c b/test/gen_udlinks.c
index d479797..dad7d27 100644
--- a/test/gen_udlinks.c
+++ b/test/gen_udlinks.c
@@ -61,9 +61,9 @@ main (void)
if((fid2 = H5Fcreate(filename2, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT)) < 0) goto error;
/* Create two groups in the second file */
- if((gid = H5Gcreate(fid2, "group", 0)) < 0) goto error;
+ if((gid = H5Gcreate(fid2, "group", (size_t)0)) < 0) goto error;
if((H5Gclose(gid)) < 0) goto error;
- if((gid = H5Gcreate(fid2, "group/subgroup", 0)) < 0) goto error;
+ if((gid = H5Gcreate(fid2, "group/subgroup", (size_t)0)) < 0) goto error;
if((H5Gclose(gid)) < 0) goto error;
/* Create an external link in the first file pointing to the group in the second file */