diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-12-02 01:05:47 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-12-02 01:05:47 +0000 |
commit | 2c1bea4f15c95a04b7d82ec801484aec2d2663b3 (patch) | |
tree | eb6dc3b2b66c795d71ca36fc2bed8c7a9a19f732 | |
parent | 2fba93b6904e22e46de66648d5c98af7512e1e1e (diff) | |
download | termo-2c1bea4f15c95a04b7d82ec801484aec2d2663b3.tar.gz termo-2c1bea4f15c95a04b7d82ec801484aec2d2663b3.tar.xz termo-2c1bea4f15c95a04b7d82ec801484aec2d2663b3.zip |
Use a C99 flexible array member rather than the [0] hack
-rw-r--r-- | driver-ti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver-ti.c b/driver-ti.c index 952bf76..d598db7 100644 --- a/driver-ti.c +++ b/driver-ti.c @@ -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 { |