diff options
author | Roland Scheidegger <rscheidegger_lists@hispeed.ch> | 2005-02-07 21:11:59 +0000 |
---|---|---|
committer | Roland Scheidegger <rscheidegger_lists@hispeed.ch> | 2005-02-07 21:11:59 +0000 |
commit | a36d5b33aaa7731621a288a6a9a02bf86c8c80e4 (patch) | |
tree | 7edb1e62db64b77d62927197cb72adf555ea3fa9 /shared | |
parent | 03ddea5b274a515528ea58db62f7b5f779430c5b (diff) |
Cast user data to correct type in radeon_surface_free's copyin.
Diffstat (limited to 'shared')
-rw-r--r-- | shared/radeon_state.c | 2 |
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 ) ) |