This patch should make it reflect the on wire size.

This one cost me an hour and some hair; hopefully it'll save someone
else in the future.

Cheers,

Jeremy
>From e60d4d40b806647f3f59f36ff98a7fcbc3854c3d Mon Sep 17 00:00:00 2001
From: Jeremy White <jwh...@codeweavers.com>
Date: Thu, 26 Apr 2012 09:43:38 -0500
Subject: [PATCH] Set the clip type to reflect the on wire type.

---
 common/draw.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/draw.h b/common/draw.h
index cdd57e9..8fad0e5 100644
--- a/common/draw.h
+++ b/common/draw.h
@@ -82,7 +82,7 @@ typedef struct SpiceClipRects {
 } SpiceClipRects;
 
 typedef struct SpiceClip {
-    uint32_t type;
+    uint8_t type;
     SpiceClipRects *rects;
 } SpiceClip;
 
-- 
1.7.9.5

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to