[PSDK/XDK]: Don't hardcode "80" in the CONTEXT structure, but use the correct define.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 4 Oct 2014 14:40:59 +0000 (14:40 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 4 Oct 2014 14:40:59 +0000 (14:40 +0000)
svn path=/trunk/; revision=64522

reactos/include/psdk/winnt.h
reactos/include/xdk/winnt_old.h

index 0d733ac..d5d705d 100644 (file)
@@ -2974,7 +2974,7 @@ typedef struct _FLOATING_SAVE_AREA {
   DWORD ErrorSelector;
   DWORD DataOffset;
   DWORD DataSelector;
-  BYTE RegisterArea[80];
+  BYTE RegisterArea[SIZE_OF_80387_REGISTERS];
   DWORD Cr0NpxState;
 } FLOATING_SAVE_AREA, *PFLOATING_SAVE_AREA;
 
index b108fab..b5da805 100644 (file)
@@ -1623,7 +1623,7 @@ typedef struct _FLOATING_SAVE_AREA {
   DWORD ErrorSelector;
   DWORD DataOffset;
   DWORD DataSelector;
-  BYTE RegisterArea[80];
+  BYTE RegisterArea[SIZE_OF_80387_REGISTERS];
   DWORD Cr0NpxState;
 } FLOATING_SAVE_AREA, *PFLOATING_SAVE_AREA;