From 0fe255a7c1ea7f8c324bfa58cdfb2c77f06bd823 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 3 Mar 2024 17:49:40 -0500 Subject: Fix up unicode escapes --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 20e16ad1..3ef93325 100644 --- a/compile.c +++ b/compile.c @@ -452,7 +452,7 @@ CORD compile(env_t *env, ast_t *ast) if (isprint(c)) code = CORD_cat_char(code, c); else - CORD_sprintf(&code, "%r\\x%02X", code, c); + CORD_sprintf(&code, "%r\\x%02X", code, (uint8_t)c); break; } } -- cgit v1.2.3