From 41b83a99583486ad4f8760a6537d34783769bfc3 Mon Sep 17 00:00:00 2001 From: Coleman Kane Date: Mon, 18 Aug 2008 17:08:21 -0400 Subject: [PATCH] Change prototype of drmIoctl to unsigned long request. This resolves and issue on amd64 FreeBSD and it looks like the linux ioctl syscall should be unsigned long as well. Signed-off-by: Robert Noland --- libdrm/xf86drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c index 150dd5f8..7202c8d7 100644 --- a/libdrm/xf86drm.c +++ b/libdrm/xf86drm.c @@ -175,7 +175,7 @@ static char *drmStrdup(const char *s) * Call ioctl, restarting if it is interupted */ static int -drmIoctl(int fd, int request, void *arg) +drmIoctl(int fd, unsigned long request, void *arg) { int ret;