From: Rémi Bernon <rbernon@codeweavers.com> --- libs/mesa/src/compiler/glsl/ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/mesa/src/compiler/glsl/ir.h b/libs/mesa/src/compiler/glsl/ir.h index 40360100c5c..142eac5a380 100644 --- a/libs/mesa/src/compiler/glsl/ir.h +++ b/libs/mesa/src/compiler/glsl/ir.h @@ -117,7 +117,7 @@ public: * new() operators are invoked, so UBSan shouldn't check vptrs. */ DECLARE_LINEAR_ZALLOC_CXX_OPERATORS_NO_SANITIZE(ir_instruction, - ((ir_instruction*)((uintptr_t)p))->node_linalloc = ctx;, + { volatile ir_instruction* volatile x = (volatile ir_instruction *)p; x->node_linalloc = ctx; }, UNREACHABLE("don't allocate ir_instruction with new[]");, VPTR) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10531