Re: [protobuf] Integers are being padded in protobufs on ARM

2016-05-24 Thread Christopher Smith
I'm guessing your cross compiler setup is somehow mucking up endian logic. Do you have a simple reproducible set up. On Apr 28, 2016 2:58 PM, "Brian Savage" wrote: > I am using protobufs on an ARM processor running Ubuntu Linux. Everything > seems to be working, except

[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