[hackers] [scc] [cc2-qbe] Fix typo in variable name || Lucas Gabriel Vuotto

From: <git_AT_suckless.org>
Date: Thu, 14 Apr 2016 08:06:06 +0200 (CEST)

commit 6ea8920a77633b7ea3190e2db5ba390a9cfc1f22
Author: Lucas Gabriel Vuotto <l.vuotto92_AT_gmail.com>
AuthorDate: Wed Apr 13 10:46:38 2016 -0300
Commit: Roberto E. Vargas Caballero <roberto.vargas_AT_igrid-td.com>
CommitDate: Thu Apr 14 08:05:44 2016 +0200

    [cc2-qbe] Fix typo in variable name
    
    Signed-off-by: Lucas Gabriel Vuotto <l.vuotto92_AT_gmail.com>

diff --git a/cc2/arch/qbe/cgen.c b/cc2/arch/qbe/cgen.c
index e01e716..2882be5 100644
--- a/cc2/arch/qbe/cgen.c
+++ b/cc2/arch/qbe/cgen.c
_AT_@ -156,7 +156,7 @@ sethi(Node *np)
         if (np->address > 10)
                 return np;
         if (lp)
- rp->complex = lp->complex;
+ np->complex = lp->complex;
         if (rp) {
                 int d = np->complex - rp->complex;
 
Received on Thu Apr 14 2016 - 08:06:06 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 14 2016 - 08:12:32 CEST