]> git.sur5r.net Git - cc65/commitdiff
Declaring a char explicitly as signed was ignored and the default (unsigned)
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 10 Oct 2000 19:35:32 +0000 (19:35 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 10 Oct 2000 19:35:32 +0000 (19:35 +0000)
char type was used.

git-svn-id: svn://svn.cc65.org/cc65/trunk@350 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/declare.c

index e97cb4577e2f5f94f908d07238bd1f0875d04af8..0a365db2cf1996434c41366c71cf89128ed6695c 100644 (file)
@@ -375,7 +375,7 @@ static void ParseTypeSpec (DeclSpec* D, int Default)
 
                        case TOK_CHAR:
                    NextToken ();
-                   D->Type[0] = T_CHAR;
+                   D->Type[0] = T_SCHAR;
                    D->Type[1] = T_END;
                    break;