util: use uint32_t instead of unsigned in bitscan.h
authorYonggang Luo <luoyonggang@gmail.com>
Tue, 20 Jun 2023 01:49:10 +0000 (09:49 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 29 Jun 2023 00:45:30 +0000 (00:45 +0000)
commitb45fb614a4cce8e7f014df9057e1165e4867907b
tree3b0f7bb12976fadebdffa317dfaffdcc21f32a6d
parent3aa929ca4618b1855c98aca479d7c0bd5498d67e
util: use uint32_t instead of unsigned in bitscan.h

uint32_t is more exact than unsigned for these functions

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23732>
src/util/bitscan.h