runtime: fix size values for bytes and bytearray RPCs.

Fixes #1076.
pull/1082/head
whitequark 2018-06-21 00:51:56 +00:00
parent 9260cdb2e8
commit 095ee28fd9
1 changed files with 2 additions and 2 deletions

View File

@ -256,8 +256,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 {