Fixed an issue where the size in counted array inputs in C++ was not being correctly calculated

This commit is contained in:
Neil Brown 2007-10-14 11:09:35 +00:00
parent fed32e1531
commit 0fc7ceaf68

View File

@ -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