diff options
author | Coleman Kane | 2008-08-18 16:08:21 -0500 |
---|---|---|
committer | Robert Noland | 2008-08-18 16:08:21 -0500 |
commit | 41b83a99583486ad4f8760a6537d34783769bfc3 (patch) | |
tree | 9b9b43b56e39de0334cc69875c55fe1cbb2cdfa4 /libdrm/xf86drm.c | |
parent | a5381cac55e54a535acf752970886b659948563c (diff) | |
download | libdrm-41b83a99583486ad4f8760a6537d34783769bfc3.tar.gz libdrm-41b83a99583486ad4f8760a6537d34783769bfc3.tar.xz libdrm-41b83a99583486ad4f8760a6537d34783769bfc3.zip |
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>
Diffstat (limited to 'libdrm/xf86drm.c')
-rw-r--r-- | libdrm/xf86drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
175 | * Call ioctl, restarting if it is interupted | 175 | * Call ioctl, restarting if it is interupted |
176 | */ | 176 | */ |
177 | static int | 177 | static int |
178 | drmIoctl(int fd, int request, void *arg) | 178 | drmIoctl(int fd, unsigned long request, void *arg) |
179 | { | 179 | { |
180 | int ret; | 180 | int ret; |
181 | 181 | ||