scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 9b4badb838e1ad914c33ead0b0e51e120342213a
parent 1529db2ce3173f824acd8e7fd895c2543262be17
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 15 May 2014 14:32:56 +0200

Fix some signess pointer types

Diffstat:
cc1/decl.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cc1/decl.c b/cc1/decl.c @@ -174,7 +174,7 @@ specifier(int8_t *sclass) qlf = sign = type = cls = size = 0; for (;;) { - register uint8_t *p; + register int8_t *p; Type *(*dcl)(void) = NULL; switch (yytoken) { @@ -447,7 +447,7 @@ decl(void) Type * typename(void) { - uint8_t sclass; + int8_t sclass; Type *tp; Symbol *sym;