2
0
mirror of https://github.com/m-labs/artiq.git synced 2025-02-07 16:15:22 +08:00

runtime: fix size values for bytes and bytearray RPCs.

Fixes #1076.
This commit is contained in:
whitequark 2018-06-21 00:51:56 +00:00
parent cccadd0a55
commit 3e7cdaa5d7

View File

@ -243,8 +243,8 @@ mod tag {
Tag::Int64 => 8,
Tag::Float64 => 8,
Tag::String => 4,
Tag::Bytes => 4,
Tag::ByteArray => 4,
Tag::Bytes => 8,
Tag::ByteArray => 8,
Tag::Tuple(it, arity) => {
let mut size = 0;
for _ in 0..arity {