diff options
author | jhartmann <jhartmann> | 2003-01-13 19:08:42 +0000 |
---|---|---|
committer | jhartmann <jhartmann> | 2003-01-13 19:08:42 +0000 |
commit | 4051edee96d0a7e0a5becd1df2b2a35d033db698 (patch) | |
tree | 16611a14e3e4d79a56677b271568a181580e9c0e | |
parent | 770d8374b9f1d4be63efd26ca410c78c927c8146 (diff) |
Small server side build fix for xf86drm.cagpgart_2_0_branch
-rw-r--r-- | xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drm.c b/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drm.c index 113ec11db..f02201f5a 100644 --- a/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drm.c +++ b/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drm.c @@ -1113,14 +1113,14 @@ int drmAgpGetNumContexts(int fd) { int ret_val; - ret_val = ioctl(fd, DRM_IOCTL_AGP_NUM_CTX); + ret_val = ioctl(fd, DRM_IOCTL_AGP_NUM_CTX, NULL); if(ret_val == -1) return -errno; return ret_val; } int drmAgpChangeContext(int fd, int context) { - if(ioctl(fd, DRM_IOCTL_AGP_CHG_CTX, context)) return -errno; + if(ioctl(fd, DRM_IOCTL_AGP_CHG_CTX, (void *)context)) return -errno; return 0; } |