aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-08-13 09:12:49 +1000
committerDave Airlie <[email protected]>2010-08-13 10:22:46 +1000
commit527ac905f6a1cb525ba701df4ca505e1baea6378 (patch)
treed1ca5ee90ef5f123aba718bec1661b3d6d40c82e
parentf2804e70623c4c71e5758a24d695f8d6b74bf6d7 (diff)
r600g: fix warning in the winsys
-rw-r--r--src/gallium/winsys/r600/drm/r600_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_drm.c b/src/gallium/winsys/r600/drm/r600_drm.c
index 9520792f54d..6ebbae0b3fa 100644
--- a/src/gallium/winsys/r600/drm/r600_drm.c
+++ b/src/gallium/winsys/r600/drm/r600_drm.c
@@ -45,7 +45,7 @@ boolean r600_buffer_get_handle(struct radeon *rw,
struct winsys_handle *whandle)
{
struct drm_gem_flink flink;
- struct r600_resource* rbuffer = (struct r600_buffer*)buf;
+ struct r600_resource* rbuffer = (struct r600_resource*)buf;
if (whandle->type == DRM_API_HANDLE_TYPE_SHARED) {
if (!rbuffer->flink) {