[protobuf] Re: Protobuf on ARM pads integers

2017-08-01 Thread Brian Savage
a seg fault (memory free) in the protobuf code when you touch something totally unrelated. On Thursday, April 28, 2016 at 5:58:42 PM UTC-4, Brian Savage wrote: > > I'm using an ARM Cortex A9 running Ubuntu Linux. My application uses > protobufs. I have successfully implemented m

[protobuf] Protobuf on ARM pads integers

2016-04-28 Thread Brian Savage
I'm using an ARM Cortex A9 running Ubuntu Linux. My application uses protobufs. I have successfully implemented much of my interface, but there are a couple of messages that have an integer that is getting padded. For example, if send decimal 50 (0x32), when it's parsed from the

[protobuf] Integers are being padded in protobufs on ARM

2016-04-28 Thread Brian Savage
I am using protobufs on an ARM processor running Ubuntu Linux. Everything seems to be working, except some integers are being padded with an extra byte in LSW. Take for example the raw message 0x10 0x01 0x48 0x32 I'm passing an unsigned integer with a value of 50 decimal (0x32). Printing