aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r--libcrystfel/src/stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index 17c0619a..2a352baf 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -80,7 +80,7 @@ static int read_peaks(FILE *fh, struct image *image)
float x, y, d, intensity;
int r;
struct panel *p = NULL;
- int add_x, add_y;
+ float add_x, add_y;
rval = fgets(line, 1023, fh);
if ( rval == NULL ) continue;
@@ -140,7 +140,7 @@ static int read_peaks_2_3(FILE *fh, struct image *image)
float x, y, d, intensity;
int r;
struct panel *p = NULL;
- int add_x, add_y;
+ float add_x, add_y;
rval = fgets(line, 1023, fh);
if ( rval == NULL ) continue;