+ make it compile against latyest master (FIXME)

This commit is contained in:
Artem Pavlenko 2012-06-07 11:46:50 +01:00
parent 11c34b1599
commit 6a4c207254

View file

@ -534,7 +534,7 @@ void render_grid(mapnik::Map const& map, double scaling_factor, QPixmap & pix)
try try
{ {
ren.apply(); ren.apply();
boost::uint16_t *imdata = static_cast<boost::uint16_t*>(buf.raw_data()); int * imdata = static_cast<int*>(buf.raw_data());
QImage image(width,height,QImage::Format_RGB32); QImage image(width,height,QImage::Format_RGB32);
for (unsigned i = 0 ; i < height ; ++i) for (unsigned i = 0 ; i < height ; ++i)