[hackers] [scc] [cc2-qbe] Fix 8 byte data size || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 4 Apr 2016 19:13:06 +0200 (CEST)

commit bad28ddd7eb164eac03667f2fc97197c8abff48e
Author: Roberto E. Vargas Caballero <roberto.vargas_AT_igrid-td.com>
AuthorDate: Mon Apr 4 19:09:58 2016 +0200
Commit: Roberto E. Vargas Caballero <roberto.vargas_AT_igrid-td.com>
CommitDate: Mon Apr 4 19:09:58 2016 +0200

    [cc2-qbe] Fix 8 byte data size
    
    The format specifier is 'l' not 'q'

diff --git a/cc2/arch/qbe/code.c b/cc2/arch/qbe/code.c
index 68d026c..003163b 100644
--- a/cc2/arch/qbe/code.c
+++ b/cc2/arch/qbe/code.c
_AT_@ -99,7 +99,7 @@ size2asm(Type *tp)
                         s = "w\t";
                         break;
                 case 8:
- s = "q\t";
+ s = "l\t";
                         break;
                 default:
                         abort();
Received on Mon Apr 04 2016 - 19:13:06 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 04 2016 - 19:24:14 CEST