aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/cell-utils.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-06-10 12:04:06 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:44 +0200
commitb029be4a077085aef818d3868e45297827902a01 (patch)
treedbdc9dd26241bd7e8f4e88b8d894edae607428b4 /libcrystfel/src/cell-utils.c
parent761026b65852d3ce1af632d2514b939f78170262 (diff)
Const-cleaning
Diffstat (limited to 'libcrystfel/src/cell-utils.c')
-rw-r--r--libcrystfel/src/cell-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/cell-utils.c b/libcrystfel/src/cell-utils.c
index d269e703..d5662971 100644
--- a/libcrystfel/src/cell-utils.c
+++ b/libcrystfel/src/cell-utils.c
@@ -868,7 +868,7 @@ static int get_angle_rad(char **bits, int nbits, double *pl)
* Writes \p cell to \p fh, in CrystFEL unit cell file format
*
*/
-void write_cell(UnitCell *cell, FILE *fh)
+void write_cell(const UnitCell *cell, FILE *fh)
{
double a, b, c, al, be, ga;
LatticeType lt;