Make ReadMemoryProcPtr take a const pointer.
Fixes some warnings when using READ with a const pointer.
This commit is contained in:
parent
e6ae1612be
commit
a69335dc29
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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user