scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit d3344817e4d71f8bebc20ea57eace1ac53e5cc3d
parent 12ae7b469328c8724bdc595f4df95c9b96a1894c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 10 Oct 2015 12:32:04 +0200

emitcast: fix format string, actually use second parameter

Diffstat:
cc1/code.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc1/code.c b/cc1/code.c @@ -324,7 +324,7 @@ emitcast(unsigned op, void *arg) emitnode(lp); if (np->type != voidtype) - printf("\tg%c", lp->type->letter, np->type->letter); + printf("\tg%c", np->type->letter); } static void