Commit d1a36e19 authored by Alexandre Julliard's avatar Alexandre Julliard

Avoid a compiler warning.

parent 30a07e90
...@@ -4284,13 +4284,13 @@ static LONG CALLBACK X11DRV_DIB_FaultHandler( PEXCEPTION_POINTERS ep ) ...@@ -4284,13 +4284,13 @@ static LONG CALLBACK X11DRV_DIB_FaultHandler( PEXCEPTION_POINTERS ep )
{ {
X_PHYSBITMAP *physBitmap = NULL; X_PHYSBITMAP *physBitmap = NULL;
BOOL found = FALSE; BOOL found = FALSE;
const BYTE *addr; BYTE *addr;
struct list *ptr; struct list *ptr;
if (ep->ExceptionRecord->ExceptionCode != EXCEPTION_ACCESS_VIOLATION) if (ep->ExceptionRecord->ExceptionCode != EXCEPTION_ACCESS_VIOLATION)
return EXCEPTION_CONTINUE_SEARCH; return EXCEPTION_CONTINUE_SEARCH;
addr = (const BYTE*)ep->ExceptionRecord->ExceptionInformation[1]; addr = (BYTE *)ep->ExceptionRecord->ExceptionInformation[1];
EnterCriticalSection(&dibs_cs); EnterCriticalSection(&dibs_cs);
LIST_FOR_EACH( ptr, &dibs_list ) LIST_FOR_EACH( ptr, &dibs_list )
......
...@@ -113,7 +113,7 @@ typedef struct ...@@ -113,7 +113,7 @@ typedef struct
XShmSegmentInfo shminfo; /* shared memory segment info */ XShmSegmentInfo shminfo; /* shared memory segment info */
#endif #endif
struct list entry; /* Entry in global DIB list */ struct list entry; /* Entry in global DIB list */
const BYTE *base; /* Base address */ BYTE *base; /* Base address */
SIZE_T size; /* Size in bytes */ SIZE_T size; /* Size in bytes */
} X_PHYSBITMAP; } X_PHYSBITMAP;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment