From 5497f0f2bcabc88af1495d3e14328a74a1bb032f Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 1 Aug 2025 14:18:53 +0200 Subject: [PATCH] sys/suit: fix return value type Member function and doc have bool return, so also return it in the wrapper function. --- sys/include/suit/storage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/include/suit/storage.h b/sys/include/suit/storage.h index 6c96563891..9e40a9da1c 100644 --- a/sys/include/suit/storage.h +++ b/sys/include/suit/storage.h @@ -543,8 +543,8 @@ static inline bool suit_storage_has_location(suit_storage_t *storage, * @returns True if the location matches the offset, * @returns False otherwise */ -static inline int suit_storage_match_offset(const suit_storage_t *storage, - size_t offset) +static inline bool suit_storage_match_offset(const suit_storage_t *storage, + size_t offset) { return storage->driver->match_offset(storage, offset); }