diff options
| author | shuax <[email protected]> | 2022-03-30 08:05:46 +0800 |
|---|---|---|
| committer | shuax <[email protected]> | 2022-03-30 08:05:46 +0800 |
| commit | 3a23627b396e789ffd0e513a9955231174ff6d35 (patch) | |
| tree | d91e0754b7405b818328f3d478cff0cf76785536 /core/src | |
| parent | 9a50e4308f3d969f6e54c74331dabc100bd8a900 (diff) | |
fix typo
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/winos/registry_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/winos/registry_query.c b/core/src/xmake/winos/registry_query.c index 7c9e87689..c0803c6a7 100644 --- a/core/src/xmake/winos/registry_query.c +++ b/core/src/xmake/winos/registry_query.c @@ -159,7 +159,7 @@ tb_int_t xm_winos_registry_query(lua_State* lua) // make value buffer value = (tb_char_t*)tb_malloc0(valuesize + 1); tb_assert_and_check_break(value); - value_w = (tb_wchar_t*)tb_malloc0(sizeof() * (valuesize + 1)); + value_w = (tb_wchar_t*)tb_malloc0(sizeof(tb_wchar_t) * (valuesize + 1)); tb_assert_and_check_break(value_w); // get value result |
