1
0
forked from 0ad/0ad
This was SVN commit r7068.
This commit is contained in:
Ykkrosh 2009-08-03 09:50:23 +00:00
parent c93db6d057
commit 5294821694

View File

@ -182,7 +182,7 @@ namespace
if (! ret)
FAIL("Argument must be convertible to a string");
jschar* ch = JS_GetStringChars(ret);
out = wxString((const char*)ch, wxMBConvUTF16(), JS_GetStringLength(ret)*2);
out = wxString((const char*)ch, wxMBConvUTF16(), (size_t)(JS_GetStringLength(ret)*2));
return true;
}
};