diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2006-07-31 14:15:55 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2006-07-31 14:15:55 -0700 |
commit | a69335dc299be6de8b82ed34de1cb30f1255feb4 (patch) | |
tree | 802f22668579efaebb4a8e6c3b9a593154213356 /fb | |
parent | e6ae1612be519ee6224d354244d076d85d44a750 (diff) |
Make ReadMemoryProcPtr take a const pointer.
Fixes some warnings when using READ with a const pointer.
Diffstat (limited to 'fb')
-rw-r--r-- | fb/fb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |