Fix some of the 64bit VS warnings.

This commit is contained in:
Jason Turner
2010-11-05 02:22:38 +00:00
parent b3dafa385e
commit 6a18862c79
3 changed files with 4 additions and 4 deletions

View File

@@ -453,7 +453,7 @@ namespace chaiscript
{
if (params.size() < 2)
{
throw arity_error(params.size(), 2);
throw arity_error(static_cast<int>(params.size()), 2);
}
Const_Proxy_Function f = boxed_cast<Const_Proxy_Function>(params[0]);
@@ -470,7 +470,7 @@ namespace chaiscript
{
if (params.size() < 1)
{
throw arity_error(params.size(), 1);
throw arity_error(static_cast<int>(params.size()), 1);
}
Const_Proxy_Function f = boxed_cast<Const_Proxy_Function>(params[0]);