summaryrefslogtreecommitdiffstats
path: root/test/objcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/objcopy.c')
-rw-r--r--test/objcopy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/objcopy.c b/test/objcopy.c
index d604c54..08e7b07 100644
--- a/test/objcopy.c
+++ b/test/objcopy.c
@@ -5200,7 +5200,7 @@ test_copy_dataset_external(hid_t fcpl_src, hid_t fcpl_dst, hid_t src_fapl, hid_t
size = DIM_SIZE_1 * sizeof(int);
if ((pid = H5Pcreate(H5P_DATASET_CREATE)) < 0)
TEST_ERROR;
- if (H5Pset_external(pid, FILE_EXT, (off_t)0, size) < 0)
+ if (H5Pset_external(pid, FILE_EXT, 0, size) < 0)
TEST_ERROR;
/* create dataset at SRC file */