1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 15:53:55 +00:00

Fixed compiler warning

This commit is contained in:
Bryan Roe
2019-02-19 11:02:23 -08:00
parent 5da959c16a
commit e370491f98

View File

@@ -3976,7 +3976,7 @@ duk_ret_t MeshAgent_ScriptMode_StartAgent(duk_context *ctx)
for (i = 0; i < paramLength; ++i)
{
duk_get_prop_index(ctx, -1, i); // [array][value]
params[i] = duk_to_string(ctx, -1);
params[i] = (char*)duk_to_string(ctx, -1);
duk_pop(ctx); // [array]
}