Skip to content

Commit

Permalink
+ make it compile against latyest master (FIXME)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemp committed Jun 7, 2012
1 parent 11c34b1 commit 6a4c207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/viewer/mapwidget.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit 6a4c207

Please sign in to comment.