summaryrefslogtreecommitdiff
path: root/fb
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2006-07-31 14:15:55 -0700
committerAaron Plattner <aplattner@nvidia.com>2006-07-31 14:15:55 -0700
commita69335dc299be6de8b82ed34de1cb30f1255feb4 (patch)
tree802f22668579efaebb4a8e6c3b9a593154213356 /fb
parente6ae1612be519ee6224d354244d076d85d44a750 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb/fb.h b/fb/fb.h
index 22ed4f78a..e32c10bfb 100644
--- a/fb/fb.h
+++ b/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,