mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
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:
parent
93f047b6ff
commit
9ce8ff9bb1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue