Update SpicePath.segments to a pointer array

This commit is contained in:
Alexander Larsson 2010-07-05 20:46:47 +02:00
parent 92c6782209
commit 1d74c91701

View File

@ -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 {