summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/unichrome/xf86drmVIA.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/xf86drmVIA.c')
-rw-r--r--src/mesa/drivers/dri/unichrome/xf86drmVIA.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/xf86drmVIA.c b/src/mesa/drivers/dri/unichrome/xf86drmVIA.c
index e39bdf745f1..8954d8e208c 100644
--- a/src/mesa/drivers/dri/unichrome/xf86drmVIA.c
+++ b/src/mesa/drivers/dri/unichrome/xf86drmVIA.c
@@ -121,7 +121,7 @@ int drmVIAAllocateDMA(int fd, drmVIADMABuf *buf)
return -errno;
}
- if (drmMap(fd,(drmHandle)buf->index,
+ if (drmMap(fd,(drm_handle_t)buf->index,
buf->size,(drmAddressPtr)(&buf->address)) < 0) {
return -errno;
}