diff options
-rw-r--r-- | src/compiler/nir/nir_lower_goto_ifs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_lower_goto_ifs.c b/src/compiler/nir/nir_lower_goto_ifs.c index de8c33a7332..44eaf729ec5 100644 --- 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; } |