aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-06-02 10:16:07 -0700
committerThomas White <taw@physics.org>2013-06-02 10:16:07 -0700
commit513d59c1c1165c026b29ba498b27f41f1b0ac17b (patch)
treee28168430084a0af76b8c9dad9c737333571a593 /libcrystfel
parent7e874c2629b8e4aa8c388d72566d6ca00673da77 (diff)
Fix const for MOSFLM space group
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/mosflm.c4
1 files 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 ) {