From 56b7d8abef5c7802587ed233c8440df7a9dc9e39 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Tue, 22 Oct 2024 11:33:41 -0400 Subject: [PATCH] Fixed minor typo from merge of #1854 for windows builds. --- src/api/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/process.c b/src/api/process.c index e0a2f971..df460c8f 100644 --- a/src/api/process.c +++ b/src/api/process.c @@ -369,7 +369,7 @@ static int process_start(lua_State* L) { lxl_arena *A = lxl_arena_init(L); // copy command line arguments #ifdef _WIN32 - if ( !(commandline = utfconv_fromutf8(&A, luaL_checkstring(L, 1))) ) + if ( !(commandline = utfconv_fromutf8(A, luaL_checkstring(L, 1))) ) return luaL_error(L, "%s", UTFCONV_ERROR_INVALID_CONVERSION); #else luaL_checktype(L, 1, LUA_TTABLE);