fixed compilation warnings generated by visual c++. Nothing serious
This commit is contained in:
parent
a3a4d72082
commit
8d2cdbc09f
|
@ -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 = "";
|
||||
|
||||
|
|
|
@ -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) );
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue