screenshot.c
changeset 4522 3f90e8cf2435
parent 4521 3720aa86ede7
child 4848 56549aa3e234
--- a/screenshot.c	Sat Sep 02 20:34:04 2006 +0000
+++ b/screenshot.c	Sat Sep 02 20:34:33 2006 +0000
@@ -460,7 +460,7 @@
 // generate a large piece of the world
 static void LargeWorldCallback(void *userdata, Pixel *buf, uint y, uint pitch, uint n)
 {
-	const ViewPort* vp = (const ViewPort*)userdata;
+	ViewPort *vp = (ViewPort *)userdata;
 	DrawPixelInfo dpi, *old_dpi;
 	int wx, left;