Fix struct bregs - it shouldn't have multiple members with the same name.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 7 May 2011 17:56:48 +0000 (13:56 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 7 May 2011 17:56:48 +0000 (13:56 -0400)
This fixes a compile error on gcc 4.6.

src/bregs.h

index 9a381d0f95d5e6c262f99624c1dd04846d76b672..f026fa81e513faa70c342c2997149a390ec33c1e 100644 (file)
@@ -37,9 +37,9 @@
 struct bregs {
     u16 ds;
     u16 es;
-    UREG(edi, di, di_hi, di_lo);
-    UREG(esi, si, si_hi, si_lo);
-    UREG(ebp, bp, bp_hi, bp_lo);
+    UREG(edi, di, di8u, di8l);
+    UREG(esi, si, si8u, si8l);
+    UREG(ebp, bp, bp8u, bp8l);
     UREG(ebx, bx, bh, bl);
     UREG(edx, dx, dh, dl);
     UREG(ecx, cx, ch, cl);