From 3aef45d35bab536aaf3ad1ea040b70ea3f0612c0 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 6 Oct 2010 16:03:47 +0000 Subject: Solved reentrancy problem in commandqueue --- tools/mhmake/src/mhmakefileparser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/mhmake/src/mhmakefileparser.h') diff --git a/tools/mhmake/src/mhmakefileparser.h b/tools/mhmake/src/mhmakefileparser.h index 9c75c8771..19bb403e3 100644 --- a/tools/mhmake/src/mhmakefileparser.h +++ b/tools/mhmake/src/mhmakefileparser.h @@ -100,7 +100,7 @@ protected: #else char **m_pEnv; // New environment in case the makefile exports variables #endif - int m_EnvLen; // Current length of m_pEnv + size_t m_EnvLen; // Current length of m_pEnv autodeps_t m_AutoDeps; set< const fileinfo* , less_fileinfo > m_Targets; // List of targets that are build by this makefile @@ -363,7 +363,7 @@ public: mh_pid_t EchoCommand(const string &Params) const; string SearchCommand(const string &Command, const string &Extension="") const; const string &GetPythonExe() const; - int SearchPath(const char *szCommand, const char *pExt, int Len, char *szFullCommand,char **pFilePart) const; + int SearchPath(const char *szCommand, const char *pExt, size_t Len, char *szFullCommand,char **pFilePart) const; mh_pid_t OsExeCommand(const string &Command, const string &Params, bool IgnoreError, string *pOutput) const; }; -- cgit v1.2.3