aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-21 15:20:51 +0200
committerThomas White <taw@physics.org>2021-07-21 15:34:33 +0200
commitd5cf0404a08253f52c6ddf3f6d80e694b9de4e7a (patch)
tree19a8a0806c5949bd2a10407fee4959a00b503fb1 /libcrystfel/src/image.h
parent49a64e6e63e2da019d7ee1d5900b72693b79818a (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