mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-30 03:24:28 +00:00
Make ReadMemoryProcPtr take a const pointer.
Fixes some warnings when using READ with a const pointer.
This commit is contained in:
2
fb/fb.h
2
fb/fb.h
@@ -601,7 +601,7 @@ extern WindowPtr *WindowTable;
|
||||
|
||||
/* Framebuffer access wrapper */
|
||||
#ifdef FB_ACCESS_WRAPPER
|
||||
typedef FbBits (*ReadMemoryProcPtr)(void *src, int size);
|
||||
typedef FbBits (*ReadMemoryProcPtr)(const void *src, int size);
|
||||
typedef void (*WriteMemoryProcPtr)(void *dst, FbBits value, int size);
|
||||
typedef void (*SetupWrapProcPtr)(ReadMemoryProcPtr *pRead,
|
||||
WriteMemoryProcPtr *pWrite,
|
||||
|
||||
Reference in New Issue
Block a user