clang warning:
result of comparison of constant 115 with expression of type
'const enum Dim' is always false
Fixes: e3e704c7e7e ("amd/addrlib: Use enum instead of sparse chars to identify dimensions")
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5119>
}
else
{
- if (dim == 's' || b.dim == 'm')
+ if (dim == DIM_S || b.dim == DIM_M)
{
ret = TRUE;
}
- else if (b.dim == 's' || dim == 'm')
+ else if (b.dim == DIM_S || dim == DIM_M)
{
ret = FALSE;
}