]> git.lyx.org Git - lyx.git/blobdiff - 3rdparty/boost/boost/regex/v4/regex_raw_buffer.hpp
Update to boost 1.72
[lyx.git] / 3rdparty / boost / boost / regex / v4 / regex_raw_buffer.hpp
index fcdb856a55eba6f2af1489850b963ec50affbd58..f1f4f50ae58650f7fee378bfe5013940fdcc8ac4 100644 (file)
@@ -138,12 +138,12 @@ public:
 
    size_type BOOST_REGEX_CALL size()
    {
-      return end - start;
+      return size_type(end - start);
    }
 
    size_type BOOST_REGEX_CALL capacity()
    {
-      return last - start;
+      return size_type(last - start);
    }
 
    void* BOOST_REGEX_CALL data()const
@@ -153,7 +153,7 @@ public:
 
    size_type BOOST_REGEX_CALL index(void* ptr)
    {
-      return static_cast<pointer>(ptr) - static_cast<pointer>(data());
+      return size_type(static_cast<pointer>(ptr) - static_cast<pointer>(data()));
    }
 
    void BOOST_REGEX_CALL clear()