mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-19 19:43:52 +01:00
sys/suit: fix return value type
Member function and doc have bool return, so also return it in the wrapper function.
This commit is contained in:
parent
3310e5a3fe
commit
5497f0f2bc
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user