Explorar o código

fix: lib_gtfont在idf5下编译失败,虽然没啥影响-_-

Wendal Chen %!s(int64=2) %!d(string=hai) anos
pai
achega
b4df61213f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      components/gtfont/luat_lib_gtfont.c

+ 1 - 1
components/gtfont/luat_lib_gtfont.c

@@ -207,7 +207,7 @@ static int l_gtfont_init(lua_State* L) {
 static const rotable_Reg_t reg_gtfont[] =
 {
     { "init" ,          ROREG_FUNC(l_gtfont_init)},
-	{ NULL,             {}}
+	{ NULL,             ROREG_INT(0)}
 };
 
 LUAMOD_API int luaopen_gtfont( lua_State *L ) {