summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger_lists@hispeed.ch>2005-02-07 21:11:59 +0000
committerRoland Scheidegger <rscheidegger_lists@hispeed.ch>2005-02-07 21:11:59 +0000
commita36d5b33aaa7731621a288a6a9a02bf86c8c80e4 (patch)
tree7edb1e62db64b77d62927197cb72adf555ea3fa9 /shared
parent03ddea5b274a515528ea58db62f7b5f779430c5b (diff)
Cast user data to correct type in radeon_surface_free's copyin.
Diffstat (limited to 'shared')
-rw-r--r--shared/radeon_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/radeon_state.c b/shared/radeon_state.c
index 15c9c6f8..ba8e73a4 100644
--- a/shared/radeon_state.c
+++ b/shared/radeon_state.c
@@ -1895,7 +1895,7 @@ 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 ) )