diff --git a/lfs.c b/lfs.c index 117595e0..ab210f03 100644 --- a/lfs.c +++ b/lfs.c @@ -390,7 +390,7 @@ static inline uint8_t lfs_gstate_getorphans(const lfs_gstate_t *a) { } static inline bool lfs_gstate_hasmove(const lfs_gstate_t *a) { - return lfs_tag_type1(a->tag); + return lfs_tag_type1(a->tag) != 0; } #endif