From a9f9530247b0d6b03664a231a43af9c8387b41ce Mon Sep 17 00:00:00 2001 From: Thorsten Alteholz Date: Sun, 26 Nov 2017 08:14:43 -0800 Subject: [PATCH] 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 --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.31.1