--- branches/development/src/selection/NameFinder.cpp 2011/11/22 20:38:56 1665 +++ branches/development/src/selection/NameFinder.cpp 2012/07/06 22:01:58 1767 @@ -226,7 +226,7 @@ namespace OpenMD { } bool NameFinder::isMatched(const std::string& str, const std::string& wildcard) { - return Wildcard::wildcardfit (wildcard.c_str(), str.c_str()); + return Wildcard::wildcardfit(wildcard.c_str(), str.c_str()) > 0 ? true : false; } @@ -256,7 +256,7 @@ namespace OpenMD { } bool NameFinder::isInteger(const std::string str) { - for(int i =0; i < str.size(); ++i){ + for(unsigned int i = 0; i < str.size(); ++i){ if (!std::isdigit(str[i])) { return false; }