shithub: scc

Download patch

ref: 9b4badb838e1ad914c33ead0b0e51e120342213a
parent: 1529db2ce3173f824acd8e7fd895c2543262be17
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu May 15 10:32:56 EDT 2014

Fix some signess pointer types

--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -174,7 +174,7 @@
 	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 @@
 Type *
 typename(void)
 {
-	uint8_t sclass;
+	int8_t sclass;
 	Type *tp;
 	Symbol *sym;