amd/addrlib: fix forgotten char -> enum conversions
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 20 May 2020 13:26:29 +0000 (15:26 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 22 May 2020 07:11:47 +0000 (09:11 +0200)
commitdddd91eef326dbcdaec2a7fee6fa429d1cf6542a
treece38a3b84a63876d5b5404067414b1e93073262a
parent685e79a64bbd6ead6f21b21ec47f55e06a8ce624
amd/addrlib: fix forgotten char -> enum conversions

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>
src/amd/addrlib/src/core/coord.cpp