summaryrefslogtreecommitdiff
path: root/6/typeinfo.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-10-09 12:28:38 -0400
committerOri Bernstein <ori@eigenstate.org>2014-10-09 12:28:38 -0400
commit56a192ced907bcc27405b85e120abb3005f9d981 (patch)
tree11872d2079b9444f5f21f477b66decdebd42e24a /6/typeinfo.c
parent29c6ded7a59b7cd8c74136957be151307c5df724 (diff)
downloadmc-56a192ced907bcc27405b85e120abb3005f9d981.tar.gz
Split out parsing of dial strings.
Diffstat (limited to '6/typeinfo.c')
-rw-r--r--6/typeinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/6/typeinfo.c b/6/typeinfo.c
index 07066ac..9cd206a 100644
--- a/6/typeinfo.c
+++ b/6/typeinfo.c
@@ -95,6 +95,7 @@ size_t tyoffset(Type *ty, Node *memb)
size_t i;
size_t off;
+ ty = tybase(ty);
if (ty->type == Typtr)
ty = tybase(ty->sub[0]);