Fix a return type bug after allowing 'foo *functionname()'
prototypes. In 'unsigned char *functionname()' char was not seen; therefore implicit 'unsigned int'.
This commit is contained in:
parent
e99a183cc3
commit
87b0ac2e1f
|
@ -281,7 +281,8 @@ static const char *get_type (parsed_symbol *sym, const char *proto, int arg)
|
|||
{
|
||||
iter = proto;
|
||||
base_type = catch_unsigned;
|
||||
}
|
||||
} else
|
||||
catch_unsigned = NULL;
|
||||
}
|
||||
else
|
||||
catch_unsigned = NULL;
|
||||
|
|
Loading…
Reference in New Issue