fix build warnings on linux

This commit is contained in:
daan 2020-01-19 17:33:36 -08:00
parent 41e717c2e0
commit e8d7c80c74
2 changed files with 10 additions and 10 deletions

View file

@ -93,7 +93,7 @@ int main() {
result = (mi_calloc((size_t)&mi_calloc,SIZE_MAX/1000) == NULL);
});
CHECK_BODY("calloc0",{
result = (mi_usable_size(mi_calloc(0,1000)) >= 0);
result = (mi_usable_size(mi_calloc(0,1000)) <= 16);
});
// ---------------------------------------------------