From 07a725f038acd66632502d54d3fa7129562365f4 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Tue, 10 Jun 2008 22:57:59 +0000 Subject: [PATCH] Make signedness of integers explicit, and fix double read/write. Also fix typo of i63 for i64 git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@666380 13f79535-47bb-0310-9956-ffa450edef68 --- lib/alterl/src/thrift_binary_protocol.erl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/alterl/src/thrift_binary_protocol.erl b/lib/alterl/src/thrift_binary_protocol.erl index 6df9fdbf..f71e5470 100644 --- a/lib/alterl/src/thrift_binary_protocol.erl +++ b/lib/alterl/src/thrift_binary_protocol.erl @@ -94,19 +94,19 @@ write(This, {bool, true}) -> write(This, {byte, 1}); write(This, {bool, false}) -> write(This, {byte, 0}); write(This, {byte, Byte}) -> - write(This, <>); + write(This, <>); write(This, {i16, I16}) -> - write(This, <>); + write(This, <>); write(This, {i32, I32}) -> - write(This, <>); + write(This, <>); -write(This, {i63, I64}) -> - write(This, <>); +write(This, {i64, I64}) -> + write(This, <>); write(This, {double, Double}) -> - write(This, <>); + write(This, <>); write(This, {string, Str}) when is_list(Str) -> write(This, {i32, length(Str)}), -- 2.17.1