aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image-cbf.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-10 15:26:35 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:45 +0200
commit47ecc15f4f32350bb29085459e23f208007e3d1c (patch)
tree98b9b2c3e1c7d6cc7bdc0e70aa8fbbbd98070705 /libcrystfel/src/image-cbf.c
parent6c3b71214cbce3de1d12c4cd2f12d68a96bccfab (diff)
const-cleaning
Diffstat (limited to 'libcrystfel/src/image-cbf.c')
-rw-r--r--libcrystfel/src/image-cbf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcrystfel/src/image-cbf.c b/libcrystfel/src/image-cbf.c
index 0d7b914d..9b34d88c 100644
--- a/libcrystfel/src/image-cbf.c
+++ b/libcrystfel/src/image-cbf.c
@@ -544,7 +544,8 @@ int image_cbf_read_mask(struct panel_template *p,
}
-static int unpack_panels(struct image *image, DataTemplate *dtempl,
+static int unpack_panels(struct image *image,
+ const DataTemplate *dtempl,
float *data, int data_width, int data_height)
{
int pi;
@@ -600,7 +601,7 @@ static int unpack_panels(struct image *image, DataTemplate *dtempl,
int image_cbf_read(struct image *image,
- DataTemplate *dtempl,
+ const DataTemplate *dtempl,
const char *filename,
const char *event,
int gz)