[PATCH:xf86-video-xgi 12/19] Make PutImage implementation match prototype.

Thomas Klausner wiz at NetBSD.org
Thu Aug 6 05:57:10 PDT 2015


Fixes
warning: assignment from incompatible pointer type

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 src/xgi_video.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/xgi_video.c b/src/xgi_video.c
index 716d6e1..420ba07 100755
--- a/src/xgi_video.c
+++ b/src/xgi_video.c
@@ -102,7 +102,7 @@ static void XGIQueryBestSize(ScrnInfoPtr, Bool,
         short, short, short, short, unsigned int *, unsigned int *, pointer);
 static int XGIPutImage( ScrnInfoPtr,
         short, short, short, short, short, short, short, short,
-        int, unsigned char*, short, short, Bool, RegionPtr, pointer);
+        int, unsigned char*, short, short, Bool, RegionPtr, pointer, DrawablePtr);
 static int XGIQueryImageAttributes(ScrnInfoPtr,
         int, unsigned short *, unsigned short *,  int *, int *);
 
@@ -1082,7 +1082,8 @@ XGIPutImage(
   int id, unsigned char* buf,
   short width, short height,
   Bool sync,
-  RegionPtr clipBoxes, pointer data
+  RegionPtr clipBoxes, pointer data,
+  DrawablePtr pDraw
 ){	
    XGIPtr pXGI = XGIPTR(pScrn);
    XGIPortPrivPtr pPriv = (XGIPortPrivPtr)data;
-- 
2.5.0



More information about the xorg-devel mailing list