[2/2] include: Make KNONVOLATILE_CONTEXT_POINTERS match PSDK definition.
Dmitry Timoshkov
dmitry at baikal.ru
Mon Apr 29 02:20:02 CDT 2013
---
dlls/ntdll/signal_x86_64.c | 2 +-
include/winnt.h | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
index 7d2b8d5..f5a8ec9 100644
--- a/dlls/ntdll/signal_x86_64.c
+++ b/dlls/ntdll/signal_x86_64.c
@@ -2574,7 +2574,7 @@ static void set_int_reg( CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *ctx_pt
static void set_float_reg( CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *ctx_ptr, int reg, M128A val )
{
*(&context->u.s.Xmm0 + reg) = val;
- if (ctx_ptr) ctx_ptr->u1.FloatingContext[reg] = &context->u.s.Xmm0 + reg;
+ if (ctx_ptr) ctx_ptr->u.FloatingContext[reg] = &context->u.s.Xmm0 + reg;
}
static int get_opcode_size( struct opcode op )
diff --git a/include/winnt.h b/include/winnt.h
index bdfa464..6911f1c 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -1158,8 +1158,8 @@ typedef struct _KNONVOLATILE_CONTEXT_POINTERS
PM128A Xmm13;
PM128A Xmm14;
PM128A Xmm15;
- } DUMMYSTRUCTNAME1;
- } DUMMYUNIONNAME1;
+ } DUMMYSTRUCTNAME;
+ } DUMMYUNIONNAME;
union
{
@@ -1182,7 +1182,7 @@ typedef struct _KNONVOLATILE_CONTEXT_POINTERS
PULONG64 R13;
PULONG64 R14;
PULONG64 R15;
- } DUMMYSTRUCTNAME2;
+ } DUMMYSTRUCTNAME;
} DUMMYUNIONNAME2;
} KNONVOLATILE_CONTEXT_POINTERS, *PKNONVOLATILE_CONTEXT_POINTERS;
--
1.8.2.1
More information about the wine-patches
mailing list