• Ilya Lipnitskiy's avatar
    protobuf-c.c: Pack negative enum values correctly · 7634c0e6
    Ilya Lipnitskiy authored
    Fix a few casts where ints were cast to uints unnecessarily
    
    Fixes #199. Previously, enums were treated as uint32's, but they need to
    be treated as int32's instead.
    
    t: Add a few test cases with negative enum values
    7634c0e6
test-full.proto 12 KB