aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index e9be3bdb..ce3ba4af 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -1520,7 +1520,7 @@ static struct image *image_read_hdf5(DataTemplate *dtempl,
for ( i=0; i<dtempl->n_panels; i++ ) {
if ( load_hdf5_hyperslab(&dtempl->panels[i], filename,
- event, &image->dp[i],
+ event, (void *)&image->dp[i],
H5T_NATIVE_FLOAT,
sizeof(float)) )
{