aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/image.h2
-rw-r--r--src/indexamajig.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/image.h b/src/image.h
index decbbab8..71bf0d3a 100644
--- a/src/image.h
+++ b/src/image.h
@@ -78,7 +78,7 @@ struct image {
UnitCell *candidate_cells[MAX_CELL_CANDIDATES];
int ncells;
struct detector *det;
- const char *filename;
+ char *filename;
struct reflhit *hits;
int n_hits;
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 0c188e6d..a866ac3b 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -280,7 +280,7 @@ static void process_image(struct process_args *pargs)
struct image *simage;
float *data_for_measurement;
size_t data_size;
- const char *filename = pargs->filename;
+ char *filename = pargs->filename;
UnitCell *cell = pargs->cell;
int config_cmfilter = pargs->config_cmfilter;
int config_noisefilter = pargs->config_noisefilter;