util: Remove redundant type cast in function align64
Fixes: 0a06cf7523 ("util: migrate alignment functions and macros to use ALIGN_POT")
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23421>
This commit is contained in:
+1
-1
@@ -702,7 +702,7 @@ static inline uint64_t
|
||||
align64(uint64_t value, uint64_t alignment)
|
||||
{
|
||||
assert(IS_POT(alignment));
|
||||
return ALIGN_POT(value, (uint64_t)alignment);
|
||||
return ALIGN_POT(value, alignment);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user