Open GoogleCodeExporter opened 8 years ago
I would expect a value passed as an argument to a function, or assigned to a
structure field that is 32-bits, the compiler should be automatically upgrading
the value to 32-bits. Are you seeing something contrary to this?
Or... are you saying that this is 16-bits on your system and not being
interpreted correctly? (Here's the generated output header from one of the
protobuf-c test files):
typedef enum _Foo__Person__PhoneType {
FOO__PERSON__PHONE_TYPE__MOBILE = 0,
FOO__PERSON__PHONE_TYPE__HOME = 1,
FOO__PERSON__PHONE_TYPE__WORK = 2
} Foo__Person__PhoneType;
Original comment by sodab...@gmail.com
on 1 Aug 2012 at 9:44
Original issue reported on code.google.com by
martin.s...@gmail.com
on 10 Apr 2012 at 5:33