summaryrefslogtreecommitdiff
path: root/emulators/hercules/patches/patch-aq
blob: e0b1e2867b3189a94464c42032fc2187a1a9849f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aq,v 1.1 2010/01/17 08:00:47 dholland Exp $

Patch out gcc language extensions that are no longer supported.

--- service.c~	2001-02-08 20:07:03.000000000 +0000
+++ service.c
@@ -1300,7 +1300,7 @@ BYTE            *xstmap;                
                     }
                 }
                 mcd_len -= obj_len;
-                (BYTE*)obj_hdr += obj_len;
+                obj_hdr = (SCCB_OBJ_HDR *)((BYTE*)obj_hdr + obj_len);
             }
     
 #ifndef NO_CYGWIN_STACK_BUG