diff --git a/m-shared.h b/m-shared.h index 2afbb571..9fa9e636 100644 --- a/m-shared.h +++ b/m-shared.h @@ -363,7 +363,7 @@ static inline int sharedi_integer_cref(int *p) { return *p; } M_C(name, _end_p)(M_C(name, _it_t) it) \ { \ assert (it != NULL); \ - return it->idx != -1U; \ + return it->idx == -1U; \ } \ \ static inline type * \