scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 303468e2921e7d2203e321650d31fbf0eca3371f
parent 78ce5dddbc04d62c80f473e5624029ca59794732
Author: Quentin Rameau <quinq@fifth.space>
Date:   Wed,  9 Jan 2019 00:35:24 +0100

[libmach] Fix typo in lpack

Diffstat:
Msrc/libmach/pack.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libmach/pack.c b/src/libmach/pack.c @@ -20,7 +20,7 @@ lpack(unsigned char *dst, char *fmt, va_list va) switch (*fmt++) { case '\'': n = atoi(fmt); - while (isdigit(fmt)) + while (isdigit(*fmt)) fmt++; cp = va_arg(va, unsigned char *); while (n--)