From c76a9525c1ff75df79ca72b67388f5d40b0d1ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Alvarez?= Date: Sat, 19 Jun 2010 17:24:10 -0300 Subject: [PATCH] Change size-t to std::string::size_type. --- lib/preprocessor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/preprocessor.cpp b/lib/preprocessor.cpp index 3d71107af..7df026193 100644 --- a/lib/preprocessor.cpp +++ b/lib/preprocessor.cpp @@ -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, - size_t &pos, + std::string::size_type &pos, std::vector ¶ms, unsigned int &numberOfNewlines, bool &endFound) @@ -1623,7 +1623,7 @@ private: if (param.compare(0,s.length(),s)==0 && param[param.length()-1]==')') { std::vector innerparams; - size_t pos = s.length() - 1; + std::string::size_type pos = s.length() - 1; unsigned int num = 0; bool endFound = false; getparams(param, pos, innerparams, num, endFound);