ref: 0d927c0c39cc34a306efdccbc67b46b6c6d979be
parent: 930f559028da0e7c47e577adf62e7c53cc0166fe
author: FRIGN <dev@frign.de>
date: Tue May 17 14:34:07 EDT 2016
[cc1] Fix warnings One was a typo, the other an unclarity with type-signedness.
--- a/cc1/cc1.h
+++ b/cc1/cc1.h
@@ -396,7 +396,7 @@
extern TUINT ones(int nbytes);
/* expr.c */
-extern Node *decay(Node *), *negate(Node *np), *assign(void);;
+extern Node *decay(Node *), *negate(Node *np), *assign(void);
extern Node *convert(Node *np, Type *tp1, char iscast);
extern Node *iconstexpr(void), *condexpr(void), *expr(void);
extern bool isnodecmp(int op);
--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -366,7 +366,7 @@
specifier(int *sclass, int *qualifier)
{
Type *tp = NULL;
- int spec, qlf, sign, type, cls, size;
+ unsigned spec, qlf, sign, type, cls, size;
spec = qlf = sign = type = cls = size = 0;