Declaring a char explicitly as signed was ignored and the default (unsigned)
char type was used. git-svn-id: svn://svn.cc65.org/cc65/trunk@350 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -375,7 +375,7 @@ static void ParseTypeSpec (DeclSpec* D, int Default)
|
|||||||
|
|
||||||
case TOK_CHAR:
|
case TOK_CHAR:
|
||||||
NextToken ();
|
NextToken ();
|
||||||
D->Type[0] = T_CHAR;
|
D->Type[0] = T_SCHAR;
|
||||||
D->Type[1] = T_END;
|
D->Type[1] = T_END;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user