Fixed an issue where the size in counted array inputs in C++ was not being correctly calculated
This commit is contained in:
parent
fed32e1531
commit
0fc7ceaf68
|
@ -313,7 +313,7 @@ cppgenInputItem ops c dest
|
||||||
tell ["*"]
|
tell ["*"]
|
||||||
t <- typeOfVariable av
|
t <- typeOfVariable av
|
||||||
subT <- trivialSubscriptType t
|
subT <- trivialSubscriptType t
|
||||||
call genBytesIn ops t (Right av)
|
call genBytesIn ops subT (Right av)
|
||||||
)
|
)
|
||||||
(A.InVariable m v) ->
|
(A.InVariable m v) ->
|
||||||
do ct <- typeOfVariable c
|
do ct <- typeOfVariable c
|
||||||
|
|
Loading…
Reference in New Issue
Block a user