3 @@ -863,6 +863,8 @@ processParms (ast *func,
5 ftype = (*actParm)->ftype;
7 + resultType = RESULT_TYPE_NONE;
9 /* If it's a char, upcast to int. */
10 if (IS_INTEGRAL (ftype)
11 && (getSize (ftype) < (unsigned) INTSIZE))
12 @@ -874,12 +876,14 @@ processParms (ast *func,
14 newType = newAst_LINK (copyLinkChain(ftype));
15 DCL_TYPE (newType->opval.lnk) = port->unqualified_pointer;
16 + resultType = RESULT_TYPE_GPTR;
19 if (IS_AGGREGATE (ftype))
21 newType = newAst_LINK (copyLinkChain (ftype));
22 DCL_TYPE (newType->opval.lnk) = port->unqualified_pointer;
23 + resultType = RESULT_TYPE_GPTR;
27 @@ -890,7 +894,7 @@ processParms (ast *func,
28 (*actParm)->filename = (*actParm)->right->filename;
29 (*actParm)->lineno = (*actParm)->right->lineno;
31 - decorateType (*actParm, RESULT_TYPE_NONE);
32 + decorateType (*actParm, resultType);