fixed compilation warnings generated by visual c++. Nothing serious

This commit is contained in:
Daniel Marjamäki 2008-10-31 08:29:59 +00:00
parent a3a4d72082
commit 8d2cdbc09f
2 changed files with 2 additions and 2 deletions

View File

@ -283,7 +283,7 @@ static std::string getcode(const std::string &filedata, std::string cfg)
bool match = true;
for ( std::list<bool>::const_iterator it = matching_ifdef.begin(); it != matching_ifdef.end(); ++it )
match &= *it;
match &= bool(*it);
if ( ! match )
line = "";

View File

@ -299,7 +299,7 @@ void Tokenize(std::istream &code, const char FileName[])
Files.push_back(FileName);
// Tokenize the file..
TokenizeCode( code, Files.size() - 1 );
TokenizeCode( code, (unsigned int)(Files.size() - 1) );
}
//---------------------------------------------------------------------------