compile-time enforcement of printf strings

This commit is contained in:
Matthew Kennedy 2024-06-10 00:57:27 -07:00 committed by Andrey
parent 1d48ee7182
commit 8054d49adf
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ static LuaHandle setupLuaState(lua_Alloc alloc) {
}
static bool loadScript(LuaHandle& ls, const char* scriptStr) {
efiPrintf(TAG "loading script length: %d...", efiStrlen(scriptStr));
efiPrintf(TAG "loading script length: %lu...", efiStrlen(scriptStr));
if (0 != luaL_dostring(ls, scriptStr)) {
efiPrintf(TAG "ERROR loading script: %s", lua_tostring(ls, -1));