r600g: fix warning in the winsys
authorDave Airlie <airlied@redhat.com>
Thu, 12 Aug 2010 23:12:49 +0000 (09:12 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Aug 2010 00:22:46 +0000 (10:22 +1000)
src/gallium/winsys/r600/drm/r600_drm.c

index 9520792f54d1c353980327cdbccece230170af83..6ebbae0b3fa79de0b5ed890f5b8b0b78f310f67c 100644 (file)
@@ -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) {