From 46533e1cdbe38a7c2257eb0331e0e8e21c96cfe5 Mon Sep 17 00:00:00 2001 From: Thorsten Alteholz Date: Wed, 27 Dec 2017 12:08:50 -0800 Subject: [PATCH] a56: 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 --- a56/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/a56/main.c b/a56/main.c index cc03c74..a6efff3 100644 --- a/a56/main.c +++ b/a56/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.25.1