summaryrefslogtreecommitdiff
path: root/libdm/datastruct/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdm/datastruct/hash.c')
-rw-r--r--libdm/datastruct/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/datastruct/hash.c b/libdm/datastruct/hash.c
index 67261f8da..054f5c359 100644
--- a/libdm/datastruct/hash.c
+++ b/libdm/datastruct/hash.c
@@ -20,7 +20,7 @@ struct dm_hash_node {
void *data;
unsigned data_len;
unsigned keylen;
- char key[];
+ char key[0];
};
struct dm_hash_table {