From a69335dc299be6de8b82ed34de1cb30f1255feb4 Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Mon, 31 Jul 2006 14:15:55 -0700 Subject: Make ReadMemoryProcPtr take a const pointer. Fixes some warnings when using READ with a const pointer. --- fb/fb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3