diff options
author | marha <marha@users.sourceforge.net> | 2009-12-10 15:49:55 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-12-10 15:49:55 +0000 |
commit | 0925cb4f76a1667fb3777efbe6a0e0e69c4cca3c (patch) | |
tree | bbe20184d5104c1489cb84815f2f27dc4437be08 /tools/mhmake/src/util.cpp | |
parent | 0540eb5a1f795c0f5265d244ec979b8ddfcf3acb (diff) | |
download | vcxsrv-0925cb4f76a1667fb3777efbe6a0e0e69c4cca3c.tar.gz vcxsrv-0925cb4f76a1667fb3777efbe6a0e0e69c4cca3c.tar.bz2 vcxsrv-0925cb4f76a1667fb3777efbe6a0e0e69c4cca3c.zip |
Added 64-bit compilation
Removed autodep optimisation.
Diffstat (limited to 'tools/mhmake/src/util.cpp')
-rw-r--r-- | tools/mhmake/src/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mhmake/src/util.cpp b/tools/mhmake/src/util.cpp index 0e227989a..9fc03ddad 100644 --- a/tools/mhmake/src/util.cpp +++ b/tools/mhmake/src/util.cpp @@ -231,7 +231,7 @@ bool PercentMatchList(const string &String,const string &ExprList,matchres *pRes string ReplaceWithStem(const string &String,const string &Stem)
{
string Ret=String;
- int Pos=Ret.find('%');
+ size_t Pos=Ret.find('%');
while (Pos!=string::npos)
{
Ret=Ret.substr(0,Pos)+Stem+Ret.substr(Pos+1);
@@ -309,7 +309,7 @@ loadedmakefile::loadedmakefile(vector<string> &Args,const string&Makefile) vector<string>::iterator ArgIt=Args.begin();
while (ArgIt!=Args.end())
{
- int EqPos=ArgIt->find('=');
+ size_t EqPos=ArgIt->find('=');
if (EqPos!=string::npos)
{
string Var=ArgIt->substr(0,EqPos);
|