aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2018-06-28 13:00:32 -0400
committerFranklin Wei <me@fwei.tk>2018-06-28 13:00:32 -0400
commitf1ebf26828f93fea21fe9632d16277791342e388 (patch)
tree27c99456404c930124e99242cab7195b14c25d21
parent1e9304ba403288bfbd0769215af097e50e5aaac5 (diff)
downloadcsaa-f1ebf26828f93fea21fe9632d16277791342e388.zip
csaa-f1ebf26828f93fea21fe9632d16277791342e388.tar.gz
csaa-f1ebf26828f93fea21fe9632d16277791342e388.tar.bz2
csaa-f1ebf26828f93fea21fe9632d16277791342e388.tar.xz
Fix compilation error with old gcc
-rw-r--r--iomt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iomt.h b/iomt.h
index a4fafc1..a28b670 100644
--- a/iomt.h
+++ b/iomt.h
@@ -9,7 +9,7 @@ struct iomt_node {
};
/* indices cannot be zero */
-static const struct iomt_node node_null = { 0, 0, hash_null };
+static const struct iomt_node node_null = { 0, 0, { { 0 } } };
/* Each level of the IOMT is stored sequentially from left to
* right, top to bottom, as follows: