Use a C99 flexible array member rather than the [0] hack
This commit is contained in:
parent
2fba93b690
commit
2c1bea4f15
|
@ -32,7 +32,7 @@ struct trie_node_key {
|
|||
struct trie_node_arr {
|
||||
trie_nodetype type;
|
||||
unsigned char min, max; /* INCLUSIVE endpoints of the extent range */
|
||||
struct trie_node *arr[0];
|
||||
struct trie_node *arr[]; /* dynamic size at allocation time */
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Reference in New Issue