Fix compiler warnings

This commit is contained in:
Behdad Esfahbod 2025-04-04 14:00:25 -06:00
parent 623a7a4198
commit 13752124d7

View file

@ -2548,9 +2548,9 @@ struct SparseVarRegionAxis
DEFINE_SIZE_STATIC (8);
};
#define REGION_CACHE_ITEM_CACHE_INVALID (-1 << 31)
#define REGION_CACHE_ITEM_MULTIPLIER (float (1 << 30))
#define REGION_CACHE_ITEM_DIVISOR (1.f / float (1 << 30))
#define REGION_CACHE_ITEM_CACHE_INVALID INT_MIN
#define REGION_CACHE_ITEM_MULTIPLIER (float (1 << ((sizeof (int) * 8) - 2)))
#define REGION_CACHE_ITEM_DIVISOR (1.f / float (1 << ((sizeof (int) * 8) - 2)))
struct VarRegionList
{