diff options
author | Thomas White <taw@physics.org> | 2019-07-29 15:59:49 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-07-29 16:10:45 +0200 |
commit | 83ef79e1642841966690e4c9643a8716e8521112 (patch) | |
tree | 605074348f558e327c72dd3c0b9503b415afe530 /libcrystfel/src/detector.c | |
parent | 8c2af4e67175c44b07bc65473bd9f990932c25aa (diff) |
panel_number(): Make args const
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r-- | libcrystfel/src/detector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index d1c8bc75..b23db054 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -506,7 +506,7 @@ struct panel *find_orig_panel(struct detector *det, double fs, double ss) } -int panel_number(struct detector *det, struct panel *p) +int panel_number(const struct detector *det, const struct panel *p) { int pn; |