diff --git a/include/boost/gil/color_base.hpp b/include/boost/gil/color_base.hpp index aa416b053..07eff5f66 100644 --- a/include/boost/gil/color_base.hpp +++ b/include/boost/gil/color_base.hpp @@ -129,7 +129,7 @@ public: _v1(*memunit_advanced(semantic_at_c<1>(ptr),diff)) {} // Support for planar_pixel_reference operator[] - Element at_c_dynamic(size_t i) const { + Element at_c_dynamic(std::size_t i) const { if (i==0) return _v0; return _v1; } @@ -245,7 +245,7 @@ public: _v3(*memunit_advanced(semantic_at_c<3>(ptr),diff)) {} // Support for planar_pixel_reference operator[] - Element at_c_dynamic(size_t i) const { + Element at_c_dynamic(std::size_t i) const { switch (i) { case 0: return _v0; case 1: return _v1; @@ -316,7 +316,7 @@ public: _v4(*memunit_advanced(semantic_at_c<4>(ptr),diff)) {} // Support for planar_pixel_reference operator[] - Element at_c_dynamic(size_t i) const { + Element at_c_dynamic(std::size_t i) const { switch (i) { case 0: return _v0; case 1: return _v1; diff --git a/include/boost/gil/extension/io/png_io_private.hpp b/include/boost/gil/extension/io/png_io_private.hpp index 2840f1c33..17fd74d04 100644 --- a/include/boost/gil/extension/io/png_io_private.hpp +++ b/include/boost/gil/extension/io/png_io_private.hpp @@ -5,7 +5,7 @@ Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). - See http://opensource.adobe.com/gil for most recent version including documentation. + See http://stlab.adobe.com/gil for most recent version including documentation. */ /*************************************************************************************************/ @@ -28,7 +28,7 @@ namespace boost { namespace gil { namespace detail { -static const size_t PNG_BYTES_TO_CHECK = 4; +static const std::size_t PNG_BYTES_TO_CHECK = 4; // lbourdev: These can be greatly simplified, for example: template struct png_color_type {BOOST_STATIC_CONSTANT(int,color_type=0);};