aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/wincmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/xwin/wincmap.c')
-rw-r--r--xorg-server/hw/xwin/wincmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/wincmap.c b/xorg-server/hw/xwin/wincmap.c
index 283372a9f..4275265be 100644
--- a/xorg-server/hw/xwin/wincmap.c
+++ b/xorg-server/hw/xwin/wincmap.c
@@ -170,7 +170,7 @@ winUninstallColormap(ColormapPtr pmap)
/* Install the default cmap in place of the cmap to be uninstalled */
if (pmap->mid != pmap->pScreen->defColormap) {
- dixLookupResourceByType((pointer) &curpmap, pmap->pScreen->defColormap,
+ dixLookupResourceByType((void *) &curpmap, pmap->pScreen->defColormap,
RT_COLORMAP, NullClient, DixUnknownAccess);
(*pmap->pScreen->InstallColormap) (curpmap);
}