1
0
forked from 0ad/0ad

stomped on vc2k5 warning (size_t -> uint)

This was SVN commit r1191.
This commit is contained in:
janwas 2004-09-22 18:14:00 +00:00
parent a8ef15b665
commit 9c2fb5a466

View File

@ -323,7 +323,7 @@ CStrW ScriptingHost::ValueToUCString( const jsval value )
throw PSERROR_Scripting_ConversionFailed();
jschar *strptr=JS_GetStringChars(string);
uint length=JS_GetStringLength(string);
size_t length=JS_GetStringLength(string);
return CStrW(std::wstring(strptr, strptr+length));
}