[Spice-devel] [PATCH 06/11] Fix return for qxl_release_alloc

Frediano Ziglio fziglio at redhat.com
Wed May 27 03:04:01 PDT 2015


This function return handle to allocated release object which is an int.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 qxl/qxl_release.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qxl/qxl_release.c b/qxl/qxl_release.c
index d9b2568..6fd8e50 100644
--- a/qxl/qxl_release.c
+++ b/qxl/qxl_release.c
@@ -122,7 +122,7 @@ static const struct fence_ops qxl_fence_ops = {
 	.wait = qxl_fence_wait,
 };
 
-static uint64_t
+static int
 qxl_release_alloc(struct qxl_device *qdev, int type,
 		  struct qxl_release **ret)
 {
-- 
2.1.0



More information about the Spice-devel mailing list