Change prototype of drmIoctl to unsigned long request.
authorColeman Kane <cokane@cokane.org>
Mon, 18 Aug 2008 21:08:21 +0000 (17:08 -0400)
committerRobert Noland <rnoland@2hip.net>
Mon, 18 Aug 2008 21:08:21 +0000 (17:08 -0400)
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 <rnoland@2hip.net>
libdrm/xf86drm.c

index 150dd5f..7202c8d 100644 (file)
@@ -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;