summaryrefslogtreecommitdiffstats
path: root/perform
diff options
context:
space:
mode:
Diffstat (limited to 'perform')
-rw-r--r--perform/sio_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perform/sio_engine.c b/perform/sio_engine.c
index 8e792bd..adfd708 100644
--- a/perform/sio_engine.c
+++ b/perform/sio_engine.c
@@ -840,7 +840,7 @@ do_read(results *res, file_descr *fd, parameters *parms, void *buffer)
break;
case HDF5:
- sprintf(dname, "Dataset_%ld", parms->num_bytes);
+ sprintf(dname, "Dataset_%ld", (long)parms->num_bytes);
h5ds_id = H5Dopen2(fd->h5fd, dname, H5P_DEFAULT);
if (h5ds_id < 0) {
HDfprintf(stderr, "HDF5 Dataset open failed\n");