hyc

Hydrogen Compiler written in C
git clone git://git.kocotian.pl/hyc.git
Log | Files | Refs | README | LICENSE

commit b6f63effea834f4bf6b89611b94e233257084069
parent cfe9fa01ce7c08569ab5d53c0610d3a093334b80
Author: kocotian <kocotian@kocotian.pl>
Date:   Fri, 30 Jul 2021 22:35:26 +0000

NULL-terminator fix

Diffstat:
Mtarget/x86_64-linux.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/target/x86_64-linux.c b/target/x86_64-linux.c @@ -272,6 +272,7 @@ argumentRegister(size_t argno, char *buf, size_t len) argno == 2 || argno == 3 ? 'x' : argno == 4 || argno == 5 ? 'd' : '5'; + buf[3] = '\0'; } return buf; }