Mesa (master): r600g: fix warning in the winsys

Dave Airlie airlied at kemper.freedesktop.org
Fri Aug 13 00:23:04 UTC 2010


Module: Mesa
Branch: master
Commit: 527ac905f6a1cb525ba701df4ca505e1baea6378
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=527ac905f6a1cb525ba701df4ca505e1baea6378

Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Aug 13 09:12:49 2010 +1000

r600g: fix warning in the winsys

---

 src/gallium/winsys/r600/drm/r600_drm.c |    2 +-
 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 9520792..6ebbae0 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) {




More information about the mesa-commit mailing list