From d1a36e1929ea377f5a39c79f608b0391d5258610 Mon Sep 17 00:00:00 2001
From: Alexandre Julliard <julliard@winehq.org>
Date: Wed, 20 Apr 2005 18:45:28 +0000
Subject: [PATCH] Avoid a compiler warning.

---
 dlls/x11drv/dib.c    | 4 ++--
 dlls/x11drv/x11drv.h | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/x11drv/dib.c b/dlls/x11drv/dib.c
index ea1c1d880ac..91dfdeeef84 100644
--- a/dlls/x11drv/dib.c
+++ b/dlls/x11drv/dib.c
@@ -4284,13 +4284,13 @@ static LONG CALLBACK X11DRV_DIB_FaultHandler( PEXCEPTION_POINTERS ep )
 {
     X_PHYSBITMAP *physBitmap = NULL;
     BOOL found = FALSE;
-    const BYTE *addr;
+    BYTE *addr;
     struct list *ptr;
 
     if (ep->ExceptionRecord->ExceptionCode != EXCEPTION_ACCESS_VIOLATION)
         return EXCEPTION_CONTINUE_SEARCH;
 
-    addr = (const BYTE*)ep->ExceptionRecord->ExceptionInformation[1];
+    addr = (BYTE *)ep->ExceptionRecord->ExceptionInformation[1];
 
     EnterCriticalSection(&dibs_cs);
     LIST_FOR_EACH( ptr, &dibs_list )
diff --git a/dlls/x11drv/x11drv.h b/dlls/x11drv/x11drv.h
index cd958760a87..4d0f761f6b5 100644
--- a/dlls/x11drv/x11drv.h
+++ b/dlls/x11drv/x11drv.h
@@ -113,7 +113,7 @@ typedef struct
     XShmSegmentInfo shminfo;        /* shared memory segment info */
 #endif
     struct list   entry;            /* Entry in global DIB list */
-    const BYTE   *base;             /* Base address */
+    BYTE         *base;             /* Base address */
     SIZE_T        size;             /* Size in bytes */
 } X_PHYSBITMAP;
 
-- 
GitLab