From: Thorsten Alteholz Date: Sun, 26 Nov 2017 16:14:43 +0000 (-0800) Subject: main.c and gram.c use different declarations of pc as pc is used as an integer everyw... X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=a9f9530247b0d6b03664a231a43af9c8387b41ce;p=a56.git main.c and gram.c use different declarations of pc as pc is used as an integer everywhere, the 'external unsigned long' must be wrong --- diff --git a/main.c b/main.c index cc03c74..a6efff3 100644 --- a/main.c +++ b/main.c @@ -9,6 +9,7 @@ /* * Copyright (C) 2008 Robert Millan + * Copyright (C) 2012 Thorsten Alteholz * * This file is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published @@ -51,7 +52,7 @@ static char *Copyright = "Copyright (C) 1990-1994 Quinn C. Jensen"; int pass; int error, warning; -extern unsigned long pc; +extern unsigned int pc; extern int seg; BOOL binary_listing = FALSE; BOOL list_includes = FALSE;