aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/reflist-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/reflist-utils.c')
-rw-r--r--libcrystfel/src/reflist-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/reflist-utils.c b/libcrystfel/src/reflist-utils.c
index 52cf5e61..21662edb 100644
--- a/libcrystfel/src/reflist-utils.c
+++ b/libcrystfel/src/reflist-utils.c
@@ -351,7 +351,7 @@ static RefList *read_reflections_from_file(FILE *fh, char **sym)
int cts;
int r;
- r = sscanf(line, "%i %i %i %f %s %f %i",
+ r = sscanf(line, "%i %i %i %f %64s %f %i",
&h, &k, &l, &intensity, phs, &sigma, &cts);
if ( r != 7 ) {
@@ -380,7 +380,7 @@ static RefList *read_reflections_from_file(FILE *fh, char **sym)
int cts;
int r;
- r = sscanf(line, "%i %i %i %f %s %f %i %f %f",
+ r = sscanf(line, "%i %i %i %f %64s %f %i %f %f",
&h, &k, &l, &intensity, phs, &sigma,
&cts, &fs, &ss);