$OpenBSD: patch-lcx11_cxx,v 1.2 2002/09/28 21:25:05 naddy Exp $ --- lcx11.cxx.orig Fri Feb 26 02:17:54 1999 +++ lcx11.cxx Sat Sep 28 23:19:46 2002 @@ -5,16 +5,7 @@ #include #include #include -#ifdef IRIX -#include -#endif -// I'm told the following is needed. -#ifdef SUNOS -#include -#endif -#ifdef SCO #include -#endif // this is for OS/2 - RVI #ifdef __EMX__ @@ -715,7 +706,7 @@ refresh_screen (int x1, int y1, int x2, #ifdef USE_IMAGES Fgl_putbox_low (display.win, 0, 0, x1, y1, x2 - x1, y2 - y1, - pixmap, (640 + BORDERX), + (unsigned char*)pixmap, (640 + BORDERX), x1, y1); #else int x, y;