commit 0f3dfe60dbc570744ada7af40efd74c2950cb7ba
Author:     Roberto E. Vargas Caballero <Roberto E. Vargas Caballero>
AuthorDate: Mon Apr 25 20:14:09 2016 +0200
Commit:     Roberto E. Vargas Caballero <Roberto E. Vargas Caballero>
CommitDate: Mon Apr 25 20:14:09 2016 +0200

    [cc2] Conver inst.op into unsigned char
    
    We are getting of numbers in cc2-qbe, so it is a good idea to
    make this field unsigned.

diff --git a/cc2/cc2.h b/cc2/cc2.h
index 40b805b..e72ea8e 100644
--- a/cc2/cc2.h
+++ b/cc2/cc2.h
@@ -173,7 +173,7 @@ struct addr {
 };
 
 struct inst {
-        char op;
+        unsigned char op;
        Symbol *label;
         Addr from1, from2, to;
         Inst *next, *prev;

Reply via email to