Module Name:    xsrc
Committed By:   christos
Date:           Tue Jan 24 15:47:02 UTC 2017

Modified Files:
        xsrc/external/mit/xf86-video-chips/dist/src: ct_exa.c

Log Message:
fix compilation.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 xsrc/external/mit/xf86-video-chips/dist/src/ct_exa.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-chips/dist/src/ct_exa.c
diff -u xsrc/external/mit/xf86-video-chips/dist/src/ct_exa.c:1.1 xsrc/external/mit/xf86-video-chips/dist/src/ct_exa.c:1.2
--- xsrc/external/mit/xf86-video-chips/dist/src/ct_exa.c:1.1	Sat Jan  7 11:07:07 2017
+++ xsrc/external/mit/xf86-video-chips/dist/src/ct_exa.c	Tue Jan 24 10:47:01 2017
@@ -21,7 +21,7 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-/* $NetBSD: ct_exa.c,v 1.1 2017/01/07 16:07:07 macallan Exp $ */
+/* $NetBSD: ct_exa.c,v 1.2 2017/01/24 15:47:01 christos Exp $ */
 
 #include <sys/types.h>
 
@@ -192,7 +192,7 @@ ctUploadToScreen(PixmapPtr pDst, int x, 
 {
     ScrnInfoPtr pScrn = xf86Screens[pDst->drawable.pScreen->myNum];
     CHIPSPtr cPtr = CHIPSPTR(pScrn);
-    char  *dst        = cPtr->FbBase + exaGetPixmapOffset(pDst);
+    unsigned char *dst = cPtr->FbBase + exaGetPixmapOffset(pDst);
     int    dst_pitch  = exaGetPixmapPitch(pDst);
 
     int bpp    = pDst->drawable.bitsPerPixel;
@@ -221,7 +221,7 @@ ctDownloadFromScreen(PixmapPtr pSrc, int
 {
     ScrnInfoPtr pScrn = xf86Screens[pSrc->drawable.pScreen->myNum];
     CHIPSPtr cPtr = CHIPSPTR(pScrn);
-    char  *src        = cPtr->FbBase + exaGetPixmapOffset(pSrc);
+    unsigned char *src = cPtr->FbBase + exaGetPixmapOffset(pSrc);
     int    src_pitch  = exaGetPixmapPitch(pSrc);
 
     int bpp    = pSrc->drawable.bitsPerPixel;

Reply via email to