shithub: scc

Download patch

ref: c5629533e4c407f11d5378f399d6eef334e4e0c8
parent: 0c6d4405d1f0232497145a46f3e315b9db20187e
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Dec 18 03:13:10 EST 2017

[as-i386] Correct signess of p in match()

warning: comparison of constant 'AREP' (128) with expression of type
         'char' is always true

--- a/as/target/i386/proc.c
+++ b/as/target/i386/proc.c
@@ -101,7 +101,7 @@
 int
 match(Op *op, Node **args)
 {
-	char *p;
+	unsigned char *p;
 	int a, olda;
 
 	if (!op->args)