summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-10 14:46:04 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-10 14:46:04 (GMT)
commit564a23c6ba01aaef15af64758b21785fd6cdb9fc (patch)
tree8b98a92460680b8811e1942c3687ae83c6540c08 /Source/cmDependsFortran.cxx
parentd53a7a38a12f5909e0259bb6d52d35e3ecfae164 (diff)
downloadCMake-564a23c6ba01aaef15af64758b21785fd6cdb9fc.zip
CMake-564a23c6ba01aaef15af64758b21785fd6cdb9fc.tar.gz
CMake-564a23c6ba01aaef15af64758b21785fd6cdb9fc.tar.bz2
COMP: Fix build on VS6.
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r--Source/cmDependsFortran.cxx8
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