diff options
author | Eric Anholt <anholt@freebsd.org> | 2005-02-03 01:05:34 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2005-02-03 01:05:34 +0000 |
commit | ed31275144b9d322f7339700a5f5cf1167ee8322 (patch) | |
tree | e5070db7cada53d4f48289cb933c2acff0af67fa /shared-core/radeon_state.c | |
parent | caa4212faa659a30d543a15781428bd8b4c2c882 (diff) |
Cast user data to correct type in radeon_surface_free's copyin.
Diffstat (limited to 'shared-core/radeon_state.c')
-rw-r--r-- | shared-core/radeon_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/radeon_state.c b/shared-core/radeon_state.c index 2ce44933..165439b0 100644 --- a/shared-core/radeon_state.c +++ b/shared-core/radeon_state.c @@ -1868,7 +1868,7 @@ static int radeon_surface_free(DRM_IOCTL_ARGS) return DRM_ERR(EINVAL); } - DRM_COPY_FROM_USER_IOCTL(memfree, (drm_radeon_mem_free_t __user *)data, + DRM_COPY_FROM_USER_IOCTL(memfree, (drm_radeon_surface_free_t __user *)data, sizeof(memfree) ); if (free_surface(filp, dev_priv, memfree.address)) |