aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/stream.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-08-19 12:28:39 +0200
committerThomas White <taw@physics.org>2020-08-19 12:28:39 +0200
commit5f4c120e3c74284e72525d9bb5a9a8da13871968 (patch)
tree5435770fba275f6fd1d068199bbe197262bab6de /libcrystfel/src/stream.c
parentd94e9bfa02bc1ee2f0e14132ea9f5f9d2689c757 (diff)
Const-cleaning
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r--libcrystfel/src/stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index a79e006d..5b4b777b 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -185,7 +185,7 @@ static ImageFeatureList *read_peaks(Stream *st,
}
-static int write_peaks(struct image *image,
+static int write_peaks(const struct image *image,
const DataTemplate *dtempl, FILE *ofh)
{
int i;
@@ -612,7 +612,7 @@ static int write_crystal(Stream *st, Crystal *cr,
*
* \returns non-zero on error.
*/
-int stream_write_chunk(Stream *st, struct image *i,
+int stream_write_chunk(Stream *st, const struct image *i,
StreamFlags srf)
{
int j;