From: Dave Airlie Date: Thu, 12 Aug 2010 23:12:49 +0000 (+1000) Subject: r600g: fix warning in the winsys X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=527ac905f6a1cb525ba701df4ca505e1baea6378;p=mesa.git r600g: fix warning in the winsys --- 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) {