From 513d59c1c1165c026b29ba498b27f41f1b0ac17b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 2 Jun 2013 10:16:07 -0700 Subject: Fix const for MOSFLM space group --- libcrystfel/src/mosflm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c index 162299b7..c9fcc125 100644 --- a/libcrystfel/src/mosflm.c +++ b/libcrystfel/src/mosflm.c @@ -438,7 +438,7 @@ static void mosflm_sendline(const char *line, struct mosflm_data *mosflm) /* Turn what we know about the unit cell into something which we can give to * MOSFLM to make it give us only indexing results compatible with the cell. */ -static const char *spacegroup_for_lattice(UnitCell *cell) +static char *spacegroup_for_lattice(UnitCell *cell) { LatticeType latt; char centering; @@ -510,7 +510,7 @@ static void mosflm_send_next(struct image *image, struct mosflm_data *mosflm) if ( (mosflm->mp->indm & INDEXING_USE_LATTICE_TYPE) && (mosflm->mp->template != NULL) ) { - const char *symm; + char *symm; if ( cell_get_lattice_type(mosflm->mp->template) == L_RHOMBOHEDRAL ) { -- cgit v1.2.3