diff options
author | Thomas White <taw@physics.org> | 2010-06-02 14:47:22 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-06-02 14:47:22 +0200 |
commit | f14b2625f2d38a52244cd1e070ed2b45d9bf66df (patch) | |
tree | 312763145739a90570542b95a784b779c862216c /src/hdf5-file.c | |
parent | 50cf3c87d8357c2922199aad2a09fb98211f7e96 (diff) |
Try again at bad pixel mask
Diffstat (limited to 'src/hdf5-file.c')
-rw-r--r-- | src/hdf5-file.c | 2 |
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"); |