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 <rnoland@2hip.net>
main
Coleman Kane 2008-08-18 17:08:21 -04:00 committed by Robert Noland
parent a5381cac55
commit 41b83a9958
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ static char *drmStrdup(const char *s)
* Call ioctl, restarting if it is interupted * Call ioctl, restarting if it is interupted
*/ */
static int static int
drmIoctl(int fd, int request, void *arg) drmIoctl(int fd, unsigned long request, void *arg)
{ {
int ret; int ret;