From 465d208b2b4ba80f41c6b7cfa673951a0218f61a Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 8 Nov 2001 09:15:58 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@1110 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/datatype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc65/datatype.c b/src/cc65/datatype.c index 47944b37a..1bc0c74af 100644 --- a/src/cc65/datatype.c +++ b/src/cc65/datatype.c @@ -764,7 +764,7 @@ type GetQualifier (const type* T) FuncDesc* GetFuncDesc (const type* T) /* Get the FuncDesc pointer from a function or pointer-to-function type */ { - if (T[0] == T_PTR) { + if (UnqualifiedType (T[0]) == T_PTR) { /* Pointer to function */ ++T; } @@ -781,7 +781,7 @@ FuncDesc* GetFuncDesc (const type* T) type* GetFuncReturn (type* T) /* Return a pointer to the return type of a function or pointer-to-function type */ { - if (T[0] == T_PTR) { + if (UnqualifiedType (T[0]) == T_PTR) { /* Pointer to function */ ++T; }