[hackers] [scc] [cc1] Output array sizes in hex || mpu

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

commit fc65eec10873b2e5d99fa2d8ceba63dea432f685
Author: mpu <quentin_AT_c9x.me>
AuthorDate: Fri Dec 9 17:04:38 2016 -0500
Commit: mpu <quentin_AT_c9x.me>
CommitDate: Fri Dec 9 17:04:38 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:47 CET

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