projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: fix const-cast warning on MSVC
[mesa.git]
/
src
/
compiler
/
nir
/
nir_lower_goto_ifs.c
diff --git
a/src/compiler/nir/nir_lower_goto_ifs.c
b/src/compiler/nir/nir_lower_goto_ifs.c
index de8c33a73329bd2c3373a1f1dd0662fa33abc281..44eaf729ec522a4e0ecb78a413cc5705035c0312 100644
(file)
--- a/
src/compiler/nir/nir_lower_goto_ifs.c
+++ b/
src/compiler/nir/nir_lower_goto_ifs.c
@@
-85,8
+85,8
@@
struct strct_lvl {
static int
nir_block_ptr_cmp(const void *_a, const void *_b)
{
- nir_block *const *a = _a;
- nir_block *const *b = _b;
+
const
nir_block *const *a = _a;
+
const
nir_block *const *b = _b;
return (int)(*a)->index - (int)(*b)->index;
}