Make ReadMemoryProcPtr take a const pointer.

Fixes some warnings when using READ with a const pointer.
This commit is contained in:
Aaron Plattner 2006-07-31 14:15:55 -07:00
parent e6ae1612be
commit a69335dc29

View File

@ -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,