summaryrefslogtreecommitdiff
path: root/6
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-10-01 23:26:57 -0700
committerOri Bernstein <ori@eigenstate.org>2015-10-02 19:10:43 -0700
commit6799d5048886a3c61b200bf367f305bf8c068164 (patch)
treec0feda885320511f6a95e137cbc9b049ae4cb930 /6
parentea60cdb464fe0bb4d289fb841304a44539d24593 (diff)
downloadmc-6799d5048886a3c61b200bf367f305bf8c068164.tar.gz
Propagate extra libraries through the system.
Diffstat (limited to '6')
-rw-r--r--6/typeinfo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/6/typeinfo.c b/6/typeinfo.c
index 94eccfa..0f420cf 100644
--- a/6/typeinfo.c
+++ b/6/typeinfo.c
@@ -234,8 +234,7 @@ size_t tysize(Type *t)
die("size of empty type => bailing.");
switch (t->type) {
case Tyvoid:
- die("void has no size");
- return 1;
+ return 0;
case Tybool: case Tyint8:
case Tybyte: case Tyuint8:
return 1;