THRIFT-313. rb: BinaryProtocolAccelerated and BinaryProtocol don't produce the same...
authorBryan Duxbury <bryanduxbury@apache.org>
Fri, 20 Mar 2009 02:21:05 +0000 (02:21 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Fri, 20 Mar 2009 02:21:05 +0000 (02:21 +0000)
commitd40731edb2744d9b1234c6bcea22788b65e81a23
tree6d6481eaa28ab76d242b5cc71a452a74bf75af13
parent13083d6d52d2b5bd3d5a9368a04503c5b21eabab
THRIFT-313. rb: BinaryProtocolAccelerated and BinaryProtocol don't produce the same bytes when writes aren't strict

A Fixnum was not properly being converted to its native value before being written. This patch rectifies that problem.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@756308 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/ext/binary_protocol_accelerated.c