[PATCH xf86-video-cirrus] Eliminate pointer arithmetic compilation warnings

Kevin Brace kevinbrace at gmx.com
Fri Apr 12 01:50:21 UTC 2019


Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
 src/cir.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cir.h b/src/cir.h
index b117793..dba7b65 100644
--- a/src/cir.h
+++ b/src/cir.h
@@ -39,8 +39,8 @@ typedef struct {
     Bool HasFBitBlt;
     CARD32 IOAddress;
     CARD32 FbAddress;
-    void * IOBase;
-    void * FbBase;
+    unsigned char *IOBase;
+    unsigned char *FbBase;
     long FbMapSize;
     long IoMapSize;
     int MinClock;
--
2.17.1



More information about the xorg-devel mailing list