treesitter: fix wrong string formatting

This commit is contained in:
Thomas Vigouroux 2020-11-01 15:07:11 +01:00
parent d3a63a1f71
commit 31738fe8f1
No known key found for this signature in database
GPG Key ID: 88204BFB627E648D

View File

@ -180,7 +180,7 @@ int tslua_add_language(lua_State *L)
|| lang_version > TREE_SITTER_LANGUAGE_VERSION) {
return luaL_error(
L,
"ABI version mismatch : expected %" PRIu32 ", found %" PRIu32,
"ABI version mismatch : expected %d, found %d",
TREE_SITTER_MIN_COMPATIBLE_LANGUAGE_VERSION, lang_version);
}