From f65f3782dc287454b4c5c5b0baac2de62676e8ec Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Wed, 11 Feb 2009 16:45:20 +0000 Subject: [PATCH] + use 'typedef byte' instead of uint_8t --- include/mapnik/octree.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/mapnik/octree.hpp b/include/mapnik/octree.hpp index 7184f0151..77945d29f 100644 --- a/include/mapnik/octree.hpp +++ b/include/mapnik/octree.hpp @@ -88,7 +88,7 @@ namespace mapnik { unsigned blues; unsigned count; unsigned count2; - uint8_t index; + byte index; }; struct node_cmp { @@ -214,9 +214,9 @@ namespace mapnik { if (itr->count != 0) { unsigned count = itr->count; - palette.push_back(rgb(uint8_t(itr->reds/float(count)), - uint8_t(itr->greens/float(count)), - uint8_t(itr->blues/float(count)))); + palette.push_back(rgb(byte(itr->reds/float(count)), + byte(itr->greens/float(count)), + byte(itr->blues/float(count)))); itr->index = palette.size() - 1; } for (unsigned i=0; i < 8 ;++i)