diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-07-05 20:46:47 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-07-05 20:46:47 +0200 |
commit | 1d74c91701c6da4eecbeba5ea6e1bb6c9ea6a197 (patch) | |
tree | 418ca87ce4574699c74d013215b4c0d3eb1bd6f3 | |
parent | 92c678220936c88b3f66b6687aa2d969736aa896 (diff) | |
download | spice-protocol-1d74c91701c6da4eecbeba5ea6e1bb6c9ea6a197.tar.gz spice-protocol-1d74c91701c6da4eecbeba5ea6e1bb6c9ea6a197.tar.xz spice-protocol-1d74c91701c6da4eecbeba5ea6e1bb6c9ea6a197.zip |
Update SpicePath.segments to a pointer array
-rw-r--r-- | spice/draw.h | 2 |
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 { |