diff options
author | Thomas White <taw@physics.org> | 2021-07-21 15:20:51 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-07-21 15:34:33 +0200 |
commit | d5cf0404a08253f52c6ddf3f6d80e694b9de4e7a (patch) | |
tree | 19a8a0806c5949bd2a10407fee4959a00b503fb1 /libcrystfel/src/image.h | |
parent | 49a64e6e63e2da019d7ee1d5900b72693b79818a (diff) |
read_cbf_data: Fix types
'buf' has to be char *, otherwise "buf+len" isn't portable.
'len_read' has to be int, because that's the return type of gzread. If
the value is immediately put into a size_t, the sign information is lost
and we can no longer tell if gzread() failed.
Diffstat (limited to 'libcrystfel/src/image.h')
0 files changed, 0 insertions, 0 deletions