diff --git a/src/compiler/clc/nir_load_libclc.c b/src/compiler/clc/nir_load_libclc.c index 8c51aaf776d..48668eaec0f 100644 --- a/src/compiler/clc/nir_load_libclc.c +++ b/src/compiler/clc/nir_load_libclc.c @@ -263,7 +263,7 @@ libclc_add_generic_variants(nir_shader *shader) if (strstr(func->name, "async_work_group_strided_copy")) continue; - char *U3AS1 = strstr(func->name, "U3AS1"); + const char *U3AS1 = strstr(func->name, "U3AS1"); if (U3AS1 == NULL) continue;