From 6a4c2072545389e973769d786eb834c6e0d6a642 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Thu, 7 Jun 2012 11:46:50 +0100 Subject: [PATCH] + make it compile against latyest master (FIXME) --- demo/viewer/mapwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/viewer/mapwidget.cpp b/demo/viewer/mapwidget.cpp index 102dfe030..220eb5586 100644 --- a/demo/viewer/mapwidget.cpp +++ b/demo/viewer/mapwidget.cpp @@ -534,7 +534,7 @@ void render_grid(mapnik::Map const& map, double scaling_factor, QPixmap & pix) try { ren.apply(); - boost::uint16_t *imdata = static_cast(buf.raw_data()); + int * imdata = static_cast(buf.raw_data()); QImage image(width,height,QImage::Format_RGB32); for (unsigned i = 0 ; i < height ; ++i)