fix return type
authorTom Henderson <tomh@tomh.org>
Fri, 09 Aug 2013 06:15:11 -0700
changeset 10121 d6fc35b77a85
parent 10120 177ccb85f714
child 10122 91258aa2436b
fix return type
src/stats/helper/file-helper.cc
src/stats/helper/gnuplot-helper.cc
--- a/src/stats/helper/file-helper.cc	Fri Aug 09 05:22:00 2013 -0700
+++ b/src/stats/helper/file-helper.cc	Fri Aug 09 06:15:11 2013 -0700
@@ -100,7 +100,7 @@
   bool pathHasNoWildcards = path.find ("*") == std::string::npos;
 
   // Remove the last token from the path.
-  unsigned lastSlash = path.find_last_of ("/");
+  size_t lastSlash = path.find_last_of ("/");
   if (lastSlash == std::string::npos)
     {
       pathWithoutLastToken = path;
--- a/src/stats/helper/gnuplot-helper.cc	Fri Aug 09 05:22:00 2013 -0700
+++ b/src/stats/helper/gnuplot-helper.cc	Fri Aug 09 06:15:11 2013 -0700
@@ -129,7 +129,7 @@
   bool pathHasNoWildcards = path.find ("*") == std::string::npos;
 
   // Remove the last token from the path.
-  unsigned lastSlash = path.find_last_of ("/");
+  size_t lastSlash = path.find_last_of ("/");
   if (lastSlash == std::string::npos)
     {
       pathWithoutLastToken = path;