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

Fixed compiler warning

This commit is contained in:
Bryan Roe
2019-03-04 18:22:51 -08:00
parent a7544b6b7a
commit c8c366ff5a
4 changed files with 4 additions and 4 deletions

View File

@@ -556,7 +556,7 @@ void ILibDuktape_EventEmitter_eventNames_ex(ILibHashtable sender, void *Key1, ch
if (ILibLinkedList_GetCount(Data) > 0)
{
duk_push_lstring(emitter->ctx, Key2, Key2Len);
duk_put_prop_index(emitter->ctx, -2, duk_get_length(emitter->ctx, -2));
duk_put_prop_index(emitter->ctx, -2, (duk_uarridx_t)duk_get_length(emitter->ctx, -2));
}
}
}