# HG changeset patch # User Matti Hamalainen # Date 1582971281 -7200 # Node ID 927772fb0745c451f56f83fb6c8bc2ff43ac95c3 # Parent f3649df3d9a7ca45b72b5e0761fb93cd644275b9 Oops, fix the return type of thfread_str() and thfwrite_str(). diff -r f3649df3d9a7 -r 927772fb0745 th_ioctx.h --- a/th_ioctx.h Tue Feb 25 07:42:50 2020 +0200 +++ b/th_ioctx.h Sat Feb 29 12:14:41 2020 +0200 @@ -131,9 +131,9 @@ int thfprintf(th_ioctx *ctx, const char *fmt, ...) TH_ATTR_PRINTF_FMT(2, 3); -int thfread_str(th_ioctx *ctx, void *ptr, const size_t len); +BOOL thfread_str(th_ioctx *ctx, void *ptr, const size_t len); BOOL thfread_u8(th_ioctx *ctx, uint8_t *); -int thfwrite_str(th_ioctx *ctx, const void *ptr, const size_t len); +BOOL thfwrite_str(th_ioctx *ctx, const void *ptr, const size_t len); BOOL thfwrite_u8(th_ioctx *ctx, const uint8_t);