diff options
author | Roland Scheidegger <sroland@vmware.com> | 2009-12-10 03:51:35 +0100 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2009-12-10 03:51:35 +0100 |
commit | 71f4267ac23f52dcc94590cb94c3e0ce451662aa (patch) | |
tree | d7bc9286cfea6731ae6c027f6c1f149cc9a971fe /src/gallium/winsys/drm | |
parent | c6b450033d7ec2a415b1d761da1d94588358c94b (diff) |
winsys/intel: fix dereferencing of opaque type due to pipe_reference changes
Diffstat (limited to 'src/gallium/winsys/drm')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_drm_fence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/intel_drm_fence.c b/src/gallium/winsys/drm/intel/gem/intel_drm_fence.c index b6248a3bcf..e8b58742ab 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_drm_fence.c +++ b/src/gallium/winsys/drm/intel/gem/intel_drm_fence.c @@ -39,7 +39,7 @@ intel_drm_fence_reference(struct intel_winsys *iws, struct intel_drm_fence *old = (struct intel_drm_fence *)*ptr; struct intel_drm_fence *f = (struct intel_drm_fence *)fence; - if (pipe_reference(&(*ptr)->reference, &f->reference)) { + if (pipe_reference(&((struct intel_drm_fence *)(*ptr))->reference, &f->reference)) { if (old->bo) drm_intel_bo_unreference(old->bo); FREE(old); |