From bf810bf00122f275b6f6cbf3ec57e2d4ec6e5a80 Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 22 Feb 2009 16:38:07 +0000 Subject: [PATCH] When generating forward references to functions, use the default code address size. git-svn-id: svn://svn.cc65.org/cc65/trunk@3948 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/datatype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc65/datatype.c b/src/cc65/datatype.c index fdc242d9b..418ecfc46 100644 --- a/src/cc65/datatype.c +++ b/src/cc65/datatype.c @@ -187,7 +187,7 @@ Type* GetImplicitFuncType (void) F->TagTab = &EmptySymTab; /* Fill the type string */ - T[0].C = T_FUNC; + T[0].C = T_FUNC | CodeAddrSizeQualifier (); T[0].A.P = F; T[1].C = T_INT; T[2].C = T_END; -- 2.39.5