Explorar el Código

fix: reg_softkb的潜在编译警告

Wendal Chen hace 1 año
padre
commit
24bb5daa80
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      components/soft_keyboard/luat_lib_softkeyboard.c

+ 1 - 1
components/soft_keyboard/luat_lib_softkeyboard.c

@@ -107,7 +107,7 @@ static const rotable_Reg_t reg_softkb[] =
 {
     { "init",          ROREG_FUNC(l_softkb_init)},
     { "deinit",        ROREG_FUNC(l_softkb_deinit)},
-	{ NULL,            {}}
+	{ NULL,            ROREG_INT(0)}
 };
 
 LUAMOD_API int luaopen_softkb( lua_State *L ) {