From 52618e1d3c2839adb653189afba491186a0b2f07 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 18 Oct 2023 20:46:42 +0200 Subject: [PATCH] dbghelp: Fix a compiler warning on ARM64. --- dlls/dbghelp/cpu_arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dbghelp/cpu_arm64.c b/dlls/dbghelp/cpu_arm64.c index c68ade2eb12..682b1548eb7 100644 --- a/dlls/dbghelp/cpu_arm64.c +++ b/dlls/dbghelp/cpu_arm64.c @@ -168,7 +168,7 @@ static unsigned arm64_map_dwarf_register(unsigned regno, const struct module* mo static void *arm64_fetch_context_reg(union ctx *pctx, unsigned regno, unsigned *size) { #ifdef __aarch64__ - CONTEXT *ctx = pctx; + CONTEXT *ctx = &pctx->ctx; switch (regno) {