From a113f11bae8a18d7371db884d8fe22653a1af852 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Sat, 16 May 2015 12:53:18 -0700 Subject: [PATCH] 'byte' is no longer being used (as of mapnik/mapnik/#d1616737f20334468e4e149f6abc8a92b8b86542) --- include/mapnik/png_io.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/png_io.hpp b/include/mapnik/png_io.hpp index 01d5b17bc..b5abbf11a 100644 --- a/include/mapnik/png_io.hpp +++ b/include/mapnik/png_io.hpp @@ -771,7 +771,7 @@ void save_as_png8_libimagequant(T1 & file, { mapnik::image_gray8::pixel_type const * row = quantized_image.get_row(y); mapnik::image_gray8::pixel_type * row_out = reduced_image.get_row(y); - byte index = 0; + std::uint8_t index = 0; for (unsigned x = 0; x < width; ++x) { index = row[x];