[hackers] [scc] [cc1] Output array sizes in hex || Quentin Carbonneaux

From: <git_AT_suckless.org>
Date: Fri, 9 Dec 2016 23:04:07 +0100 (CET)

commit 936674eef6b3b34babcc9e7c18d3f7fe579e4177
Author: Quentin Carbonneaux <quentin_AT_c9x.me>
AuthorDate: Fri Dec 9 17:03:50 2016 -0500
Commit: Quentin Carbonneaux <quentin_AT_c9x.me>
CommitDate: Fri Dec 9 17:03:50 2016 -0500

    [cc1] Output array sizes in hex

diff --git a/cc1/code.c b/cc1/code.c
index 6774fac..1fcc0de 100644
--- a/cc1/code.c
+++ b/cc1/code.c
_AT_@ -252,7 +252,7 @@ emittype(Type *tp)
                 emitletter(tp);
                 putchar('\t');
                 emitletter(tp->type);
- printf("\t#%c%lld\n",
+ printf("\t#%c%llX\n",
                        sizettype->letter, (long long) tp->n.elem);
                 return;
         case PTR:
Received on Fri Dec 09 2016 - 23:04:07 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 09 2016 - 23:12:15 CET