aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src/fileinfo.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-03-12 11:51:16 +0100
committermarha <marha@users.sourceforge.net>2012-03-12 11:51:16 +0100
commit96276c847a5c266f9f51f3ec4ece8fe3f1381c96 (patch)
treecced2f3df95ab841e860e39413203c93aebb6c07 /tools/mhmake/src/fileinfo.cpp
parent2b6ab5ff6c32e8bda9f50e38d12367502d3dd32c (diff)
downloadvcxsrv-96276c847a5c266f9f51f3ec4ece8fe3f1381c96.tar.gz
vcxsrv-96276c847a5c266f9f51f3ec4ece8fe3f1381c96.tar.bz2
vcxsrv-96276c847a5c266f9f51f3ec4ece8fe3f1381c96.zip
Made creation of temp files interprocess safe in windows
Fixes for 64-bit compilation Implemented realpath function Improved auodep scanning Solved a problem in dependency scanning
Diffstat (limited to 'tools/mhmake/src/fileinfo.cpp')
-rw-r--r--tools/mhmake/src/fileinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mhmake/src/fileinfo.cpp b/tools/mhmake/src/fileinfo.cpp
index 939a83ce6..9f4ae1ca1 100644
--- a/tools/mhmake/src/fileinfo.cpp
+++ b/tools/mhmake/src/fileinfo.cpp
@@ -42,7 +42,7 @@ string QuoteFileName(const string &Filename)
#else
int Pos=0;
/* Escape the spaces with a backslash */
- while ((Pos=Ret.find_first_of(' ',Pos))!=string::npos)
+ while ((Pos=Ret.find_first_of(' ',Pos))!=(int)string::npos)
{
Ret=Ret.replace(Pos,1,"\\ ");
Pos+=2;