summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/exn.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-11-15 10:03:22 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-11-15 10:03:22 +0000
commita6d60f9c8de1dfc6e40f7c73bcdb403dd69d97be (patch)
tree579ddd62b40cc487c2e7a4d581a946d641a70f60 /src/runtime/c/gu/exn.h
parentd997df2864a29986d7146aa4dc69d9be879718cc (diff)
fixes in the C runtime to avoid warnings when compiling on MacOS
Diffstat (limited to 'src/runtime/c/gu/exn.h')
-rw-r--r--src/runtime/c/gu/exn.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/c/gu/exn.h b/src/runtime/c/gu/exn.h
index 3fefae738..faf413a96 100644
--- a/src/runtime/c/gu/exn.h
+++ b/src/runtime/c/gu/exn.h
@@ -64,8 +64,7 @@ struct GuExn {
.parent = parent_, \
.catch = gu_kind(catch_), \
.caught = NULL, \
- .data.pool = pool_, \
- .data.data = NULL \
+ .data = {.pool = pool_, .data = NULL} \
}