summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2016-09-12 23:00:26 +0100
committerFrediano Ziglio <fziglio@redhat.com>2017-04-12 15:49:19 +0100
commit8fda11519791742a360b9d5d49aea93ff651fa93 (patch)
treeb744313da66de82f8ab29cb79e2f0749b88a30dd
parent076c9f208585ac4d7a4a75a9e14b63c4693fc42f (diff)
Make clear a QXLReleaseInfo structure is used
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Yuri Benditovich <yuri.benditovich@daynix.com>
-rwxr-xr-xqxldod/QxlDod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index e73fa51..1321812 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -4027,7 +4027,7 @@ UINT64 QxlDevice::ReleaseOutput(UINT64 output_id)
for (now = output->resources, end = now + output->num_res; now < end; now++) {
RELEASE_RES(*now);
}
- next = *(UINT64*)output->data;
+ next = ((QXLReleaseInfo*)output->data)->next;
FreeMem(output);
DbgPrint(TRACE_LEVEL_VERBOSE, ("<---%s\n", __FUNCTION__));
return next;