summaryrefslogtreecommitdiffhomepage
path: root/ir/adt
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-08 22:09:02 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-08 22:11:45 +0200
commitdcc596385d466029b3e408a861382448aea1ff8c (patch)
treeed05a959cfe8767d3349e94d282c16836e28c4ee /ir/adt
parent52f2a1d6d9765e6d232eb05787437fc4391499ff (diff)
adt: Use a flexible array member instead of bogus [1].
Diffstat (limited to 'ir/adt')
-rw-r--r--ir/adt/pdeq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/adt/pdeq.c b/ir/adt/pdeq.c
index f8df6d4..f748f6a 100644
--- a/ir/adt/pdeq.c
+++ b/ir/adt/pdeq.c
@@ -52,7 +52,7 @@ struct pdeq {
pdeq *l, *r; /**< left and right neighbor */
size_t n; /**< number of elements in the current chunk */
size_t p; /**< the read/write pointer */
- const void *data[1]; /**< storage for elements */
+ const void *data[]; /**< storage for elements */
};