diff options
author | Valerio Mariani <valerio.mariani@desy.de> | 2015-01-26 16:34:46 +0100 |
---|---|---|
committer | valerio.mariani@desy.de <vmariani@cfeld-valerio2.desy.de> | 2015-01-27 14:11:43 +0100 |
commit | e406fe80b9c504de80308393fc09fa139dcc40a8 (patch) | |
tree | 10b34dc71923490eba90c48eadade223195b162e | |
parent | 7a008febf6622daee74a832515a5c50445b9f179 (diff) |
Fix type of add_{x,y}
-rw-r--r-- | libcrystfel/src/stream.c | 4 |
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; |