Fix build error on 64-bit systems.

This commit is contained in:
Nicolás Alvarez 2010-06-19 17:16:07 -03:00
parent df3d98a7c2
commit 12d6947334
1 changed files with 2 additions and 2 deletions

View File

@ -1476,7 +1476,7 @@ static void skipstring(const std::string &line, std::string::size_type &pos)
* @param endFound out: was the end paranthesis found?
*/
static void getparams(const std::string &line,
unsigned int &pos,
size_t &pos,
std::vector<std::string> &params,
unsigned int &numberOfNewlines,
bool &endFound)
@ -1623,7 +1623,7 @@ private:
if (param.compare(0,s.length(),s)==0 && param[param.length()-1]==')')
{
std::vector<std::string> innerparams;
unsigned int pos = s.length() - 1;
size_t pos = s.length() - 1;
unsigned int num = 0;
bool endFound = false;
getparams(param, pos, innerparams, num, endFound);