1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-03 09:03:48 +00:00

Fixed compiler warnings

This commit is contained in:
Bryan Roe
2019-08-13 22:17:21 -07:00
parent 0d0b4aa1cf
commit e87d1d5db1
3 changed files with 2 additions and 3 deletions

View File

@@ -465,7 +465,6 @@ duk_ret_t ILibDuktape_GenericMarshal_CreateVariable(duk_context *ctx)
{
#ifdef WIN32
wchar_t *wbuffer = (wchar_t*)ILibMemory_AllocateA(((int)strLen * 2) + 2);
size_t converted;
if (MultiByteToWideChar(CP_UTF8, 0, (LPCCH)str, size, wbuffer, strLen + 1) == 0)
{
return(ILibDuktape_Error(ctx, "UTF8 Conversion Error"));