diff --git a/vm_core.h b/vm_core.h index 06bd93d885..74064f7803 100644 --- a/vm_core.h +++ b/vm_core.h @@ -823,7 +823,7 @@ typedef struct rb_execution_context_struct { VALUE *register_stack_end; size_t register_stack_maxsize; #endif - jmp_buf regs; + RUBY_ALIGNAS(SIZEOF_VALUE) jmp_buf regs; } machine; } rb_execution_context_t;