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

From: <git_AT_suckless.org>
Date: Fri, 9 Dec 2016 22:58:14 +0100 (CET)

commit 802c200b8fad49c7eac8e938408315814632026c
Author: Quentin Carbonneaux <quentin.carbonneaux_AT_yale.edu>
AuthorDate: Fri Dec 9 16:58:10 2016 -0500
Commit: Quentin Carbonneaux <quentin.carbonneaux_AT_yale.edu>
CommitDate: Fri Dec 9 16:58:10 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 - 22:58:14 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 09 2016 - 23:00:16 CET