fix build warnings

This commit is contained in:
lixianjing 2022-10-09 11:38:17 +08:00
parent 92adb26e1f
commit 273de7381f
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
# 最新动态
2022/10/09
* edit输入密码时输入一个字符先显示明文然后再隐(感谢兆坤提供补丁)
* edit输入密码时输入一个字符先显示明文然后再隐藏(感谢兆坤提供补丁)
* 修复enums编译报错问题(感谢智明提供补丁)
2022/10/08
* 修复systembar上有edit时窗口复位的问题(issue #773)。

View File

@ -400,7 +400,7 @@ const key_type_value_t* easing_type_find_by_value(uint32_t value) {
const key_type_value_t* keys_type_find(const char* name) {
char fixed_name[TK_NAME_LEN + 1];
key_type_value_t* ret = NULL;
const key_type_value_t* ret = NULL;
return_value_if_fail(name != NULL, NULL);
memset(fixed_name, 0x00, sizeof(fixed_name));
@ -419,7 +419,7 @@ const key_type_value_t* keys_type_find(const char* name) {
}
const key_type_value_t* keys_type_find_by_value(uint32_t value) {
key_type_value_t* ret = NULL;
const key_type_value_t* ret = NULL;
if (s_custom_keys_type_name_value != NULL) {
ret =