mirror of
https://github.com/cc65/cc65.git
synced 2025-02-03 22:32:24 +00:00
Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@1112 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
465d208b2b
commit
258133cb0e
@ -438,6 +438,7 @@ unsigned SizeOf (const type* T)
|
||||
case T_INT:
|
||||
case T_UINT:
|
||||
case T_PTR:
|
||||
case T_FUNC: /* Maybe pointer to function */
|
||||
return 2;
|
||||
|
||||
case T_LONG:
|
||||
@ -764,7 +765,7 @@ type GetQualifier (const type* T)
|
||||
FuncDesc* GetFuncDesc (const type* T)
|
||||
/* Get the FuncDesc pointer from a function or pointer-to-function type */
|
||||
{
|
||||
if (UnqualifiedType (T[0]) == T_PTR) {
|
||||
if (UnqualifiedType (T[0]) == T_PTR) {
|
||||
/* Pointer to function */
|
||||
++T;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user