Fix minor windows pedantic warnings.

This commit is contained in:
Jason Felds
2016-03-27 22:03:15 -04:00
parent 534909d30a
commit bec18a0d36
31 changed files with 173 additions and 67 deletions
+3 -2
View File
@@ -26,11 +26,12 @@ namespace
/* Look at the first class. If it has a base class that needs to be registered,
* go there first. */
LuaBinding *pBinding = mapToRegister.begin()->second;
while(1)
for(;;)
{
if( !pBinding->IsDerivedClass() )
{
break;
}
RString sBase = pBinding->GetBaseClassName();
map<RString, LuaBinding *>::const_iterator it = mapToRegister.find(sBase);
if( it != mapToRegister.end() )