[Spice-commits] spice/draw.h

Alexander Larsson alexl at kemper.freedesktop.org
Mon Jul 5 11:47:07 PDT 2010


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

New commits:
commit 1d74c91701c6da4eecbeba5ea6e1bb6c9ea6a197
Author: Alexander Larsson <alexl at redhat.com>
Date:   Mon Jul 5 20:46:47 2010 +0200

    Update SpicePath.segments to a pointer array

diff --git a/spice/draw.h b/spice/draw.h
index 0eeca0f..470d6b2 100644
--- a/spice/draw.h
+++ b/spice/draw.h
@@ -72,7 +72,7 @@ typedef struct SPICE_ATTR_PACKED SpicePathSeg {
 
 typedef struct SPICE_ATTR_PACKED SpicePath {
   uint32_t num_segments;
-  uint32_t segments[0]; /* really SpicePathSeg, alert: variable size elements */
+  SpicePathSeg *segments[0];
 } SpicePath;
 
 typedef struct SPICE_ATTR_PACKED SpiceClipRects {


More information about the Spice-commits mailing list