diff options
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r-- | Source/cmDependsFortran.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx index 23a199e..7a2f07c 100644 --- a/Source/cmDependsFortran.cxx +++ b/Source/cmDependsFortran.cxx @@ -91,7 +91,7 @@ struct cmDependsFortranParser_s int OldStartcond; std::set<std::string> PPDefinitions; - std::size_t InPPFalseBranch; + size_t InPPFalseBranch; std::stack<bool> SkipToEnd; // Information about the parsed source. @@ -148,13 +148,13 @@ cmDependsFortran for(std::vector<std::string>::const_iterator it = definitions.begin(); it != definitions.end(); ++it) { - std::size_t match = it->find("-D"); + std::string::size_type match = it->find("-D"); if(match != std::string::npos) { - std::size_t assignment = it->find("="); + std::string::size_type assignment = it->find("="); if(assignment != std::string::npos) { - std::size_t length = assignment - (match+2); + std::string::size_type length = assignment - (match+2); def = it->substr(match+2, length); } else |