diff --git a/backends/GenerateC.hs b/backends/GenerateC.hs index 9c9223d..81a090f 100644 --- a/backends/GenerateC.hs +++ b/backends/GenerateC.hs @@ -391,6 +391,10 @@ cgenBytesIn m t v = do tell ["sizeof("] call genType t tell [")"] + genBytesIn' (A.Mobile _) + = tell ["sizeof(void*)"] + genBytesIn' (A.List _) + = tell ["sizeof(void*)"] genBytesIn' t = do f <- fget getScalarType case f t of