aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-02 14:48:02 +0200
committerThomas White <taw@physics.org>2010-06-02 14:48:02 +0200
commit316eb4b161b64fefcab34e64729c98f5b3235c19 (patch)
treeeacde9cc80cd8a293a9453d7548f4eaaa386e8ce
parent8af9e47a887525b740c30abd5a6a07ac701591d9 (diff)
parentf14b2625f2d38a52244cd1e070ed2b45d9bf66df (diff)
Merge branch 'master' of ssh://git.bitwiz.org.uk/crystfel
-rw-r--r--src/hdf5-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hdf5-file.c b/src/hdf5-file.c
index f83c047c..c9b19b51 100644
--- a/src/hdf5-file.c
+++ b/src/hdf5-file.c
@@ -339,7 +339,7 @@ int hdf5_read(struct hdfile *f, struct image *image)
ERROR("Couldn't open flags\n");
} else {
flags = malloc(sizeof(uint16_t)*f->nx*f->ny);
- r = H5Dread(mask_dh, H5T_NATIVE_B16, H5S_ALL, H5S_ALL,
+ r = H5Dread(mask_dh, H5T_NATIVE_UINT16, H5S_ALL, H5S_ALL,
H5P_DEFAULT, flags);
if ( r < 0 ) {
ERROR("Couldn't read flags\n");