[hackers] [scc] [cc1] Remove old bits from anciant times || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Tue, 21 Feb 2017 21:11:50 +0100 (CET)

commit 00f3f535342d3e8fedd68d6171cb3498574fcfe4
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Tue Feb 21 20:38:10 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Tue Feb 21 21:11:05 2017 +0100

    [cc1] Remove old bits from anciant times
    
    Once upon a time when it was a requirement to be able to run this compiler
    in a z80 system, and some types were used to allow an eficient program
    for that architecture.

diff --git a/cc1/cc1.h b/cc1/cc1.h
index ad476f1..23d51cb 100644
--- a/cc1/cc1.h
+++ b/cc1/cc1.h
_AT_@ -438,7 +438,7 @@ extern TUINT ones(int nbytes);
 
 /* expr.c */
 extern Node *decay(Node *), *negate(Node *np), *assign(void);
-extern Node *convert(Node *np, Type *tp1, char iscast);
+extern Node *convert(Node *np, Type *tp1, int iscast);
 extern Node *constexpr(void), *condexpr(int neg), *expr(void);
 extern int isnodecmp(int op);
 extern int negop(int op);
diff --git a/cc1/expr.c b/cc1/expr.c
index cec7353..960b78e 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
_AT_@ -237,7 +237,7 @@ numericaluop(int op, Node *np)
 }
 
 Node *
-convert(Node *np, Type *newtp, char iscast)
+convert(Node *np, Type *newtp, int iscast)
 {
         Type *oldtp = np->type;
 
Received on Tue Feb 21 2017 - 21:11:50 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 21 2017 - 21:12:21 CET