diff --git a/backends/GenerateCPPCSP.hs b/backends/GenerateCPPCSP.hs index 3d72635..a2cb0a4 100644 --- a/backends/GenerateCPPCSP.hs +++ b/backends/GenerateCPPCSP.hs @@ -313,7 +313,7 @@ cppgenInputItem ops c dest tell ["*"] t <- typeOfVariable av subT <- trivialSubscriptType t - call genBytesIn ops t (Right av) + call genBytesIn ops subT (Right av) ) (A.InVariable m v) -> do ct <- typeOfVariable c