From: uz Date: Sun, 22 Feb 2009 16:38:07 +0000 (+0000) Subject: When generating forward references to functions, use the default code address X-Git-Tag: V2.13.0rc1~307 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bf810bf00122f275b6f6cbf3ec57e2d4ec6e5a80;p=cc65 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 --- 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;