summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-05 20:46:47 +0200
committerAlexander Larsson <alexl@redhat.com>2010-07-05 20:46:47 +0200
commit1d74c91701c6da4eecbeba5ea6e1bb6c9ea6a197 (patch)
tree418ca87ce4574699c74d013215b4c0d3eb1bd6f3
parent92c678220936c88b3f66b6687aa2d969736aa896 (diff)
Update SpicePath.segments to a pointer array
-rw-r--r--spice/draw.h2
1 files changed, 1 insertions, 1 deletions
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 {