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
parent
a5381cac55
commit
41b83a9958
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue