--- sourceforge.net/trunk/rdesktop/xwin.c 2001/09/15 14:01:45 35 +++ sourceforge.net/trunk/rdesktop/xwin.c 2001/09/15 14:30:46 36 @@ -998,7 +998,7 @@ offset *= bpp/8; cache_put_desktop(offset, cx, cy, image->bytes_per_line, - bpp/8, image->data); + bpp/8, (uint8 *)image->data); XDestroyImage(image); }