1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-06 00:13:33 +00:00

fixed compiler warnings

This commit is contained in:
Bryan Roe
2021-01-18 11:02:41 -08:00
parent 69a3181eff
commit 3e26a0996f
2 changed files with 2 additions and 2 deletions

View File

@@ -553,7 +553,7 @@ duk_ret_t ILibDuktape_ChildProcess_execve(duk_context *ctx)
#endif
duk_push_array(ctx); // [WCHAR_ARRAY]
args = (char**)ILibMemory_SmartAllocate(sizeof(char*) * (1 + duk_get_length(ctx, 1)));
args = (void**)ILibMemory_SmartAllocate(sizeof(char*) * (1 + duk_get_length(ctx, 1)));
for (i = 0; i < (int)duk_get_length(ctx, 1); ++i)
{
duk_get_prop_index(ctx, 1, (duk_uarridx_t)i); // [WCHAR_ARRAY][arg]