From: Brian Paul Date: Wed, 5 Apr 2000 22:09:10 +0000 (+0000) Subject: added some casts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4a736d52cb2d6d82d2fbc56aa00f5cfea7ba54c;p=mesa.git added some casts --- diff --git a/include/GL/xmesa_xf86.h b/include/GL/xmesa_xf86.h index 2be3efe78d1..a07c7f48936 100644 --- a/include/GL/xmesa_xf86.h +++ b/include/GL/xmesa_xf86.h @@ -30,7 +30,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * Authors: * Kevin E. Martin * - * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/include/GL/xmesa_xf86.h,v 1.4 2000/02/25 20:31:11 brianp Exp $ + * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/include/GL/xmesa_xf86.h,v 1.5 2000/04/05 22:09:10 brianp Exp $ */ #ifndef _XMESA_XF86_H_ @@ -128,12 +128,12 @@ do { \ do { \ xRectangle __r[1]; \ (void) __d; \ - ValidateGC(__b, __gc); \ + ValidateGC((DrawablePtr)__b, __gc); \ __r[0].x = __x; \ __r[0].y = __y; \ __r[0].width = __w; \ __r[0].height = __h; \ - (*__gc->ops->PolyFillRect)(__b, __gc, 1, __r); \ + (*__gc->ops->PolyFillRect)((DrawablePtr)__b, __gc, 1, __r); \ } while (0) #define XMesaPutImage(__d,__b,__gc,__i,__sx,__sy,__x,__y,__w,__h) \