projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93f047b
)
util: Remove redundant type cast in function align64
author
Yonggang Luo
<luoyonggang@gmail.com>
Mon, 5 Jun 2023 17:00:03 +0000
(
01:00
+0800)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 8 Jun 2023 06:41:20 +0000
(06:41 +0000)
Fixes:
0a06cf75231
("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>
src/util/u_math.h
patch
|
blob
|
history
diff --git
a/src/util/u_math.h
b/src/util/u_math.h
index
374d32b
..
149d223
100644
(file)
--- a/
src/util/u_math.h
+++ b/
src/util/u_math.h
@@
-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);
}
/**