diff options
author | Thomas White <taw@physics.org> | 2010-10-08 17:14:56 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:01 +0100 |
commit | 66cfe533d1c1a9b57509be12727b5de62818ca25 (patch) | |
tree | 17ce5a21f6f4c4d52542dc80b9121354cf6653f9 | |
parent | a470ed5d4d3fc80661b46b8b964077265b8706a6 (diff) |
'Filename' doesn't need to be const
-rw-r--r-- | src/image.h | 2 | ||||
-rw-r--r-- | src/indexamajig.c | 2 |
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; |