Fix issues with trim() and with unit tests relying on certain line endings.

This commit is contained in:
Jason Turner
2011-05-20 16:01:50 -06:00
parent 2786156086
commit 319f9e4de9
3 changed files with 6 additions and 6 deletions

View File

@@ -807,8 +807,8 @@ namespace chaiscript
const std::vector<Type_Info> lhsparamtypes = lhs->get_param_types();
const std::vector<Type_Info> rhsparamtypes = rhs->get_param_types();
const int lhssize = lhsparamtypes.size();
const int rhssize = rhsparamtypes.size();
const size_t lhssize = lhsparamtypes.size();
const size_t rhssize = rhsparamtypes.size();
const Type_Info boxed_type = user_type<Boxed_Value>();
const Type_Info boxed_pod_type = user_type<Boxed_POD_Value>();
@@ -843,7 +843,7 @@ namespace chaiscript
for (int i = 1; i < lhssize && i < rhssize; ++i)
for (size_t i = 1; i < lhssize && i < rhssize; ++i)
{
const Type_Info lt = lhsparamtypes[i];
const Type_Info rt = rhsparamtypes[i];