From 1d74c91701c6da4eecbeba5ea6e1bb6c9ea6a197 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 5 Jul 2010 20:46:47 +0200 Subject: [PATCH] Update SpicePath.segments to a pointer array --- spice/draw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {