shithub: lu9-lua

Download patch

ref: e9216d892affa488807f5401c976ae6e1b83ca65
parent: 3115a8132fa180084608bd7486c599fc326ffd7b
author: kvik <kvik@a-b.xyz>
date: Mon Feb 22 20:38:03 EST 2021

los9lib: fix conversion specifier

--- a/los9lib.c
+++ b/los9lib.c
@@ -28,7 +28,7 @@
 		status = lua_toboolean(L, 1) ? nil : "failure";
 		break;
 	case LUA_TNUMBER:
-		status = smprint("failure %d", lua_tointeger(L, 1));
+		status = smprint("failure %lld", lua_tointeger(L, 1));
 		break;
 	}
 	if(lua_toboolean(L, 2))