Compiler warning: [-Walloc-size-larger-than=]

This commit is contained in:
Shahram Najm 2023-03-06 20:50:11 +00:00
parent fba1fb2063
commit eb4220f455
1 changed files with 1 additions and 1 deletions

View File

@ -1539,7 +1539,7 @@ static int cube_position(const hypercube* h, const request* r)
static void reserve_index_cache(hypercube* h, int size)
{
if (size == 0)
if (size <= 0)
return;
if (h->index_cache != 0)