diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-08-30 20:04:38 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-08-30 20:04:38 -0700 |
commit | 527a544b04d324e3772081fe51ef8e405124704f (patch) | |
tree | 9a6aef0410a800cf7a6735f5a28eae79b3908a7f /tools/upbc.c | |
parent | 085aa44fcd442ab031cad8160ebf2d605b0d6325 (diff) |
Small bugfix: enums are int32, not uint32.
Diffstat (limited to 'tools/upbc.c')
-rw-r--r-- | tools/upbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upbc.c b/tools/upbc.c index f287193..36d36d0 100644 --- a/tools/upbc.c +++ b/tools/upbc.c @@ -225,7 +225,7 @@ static void write_h(struct upb_symtab_entry *entries[], int num_entries, static char* c_types[] = { "", "double", "float", "int64_t", "uint64_t", "int32_t", "uint64_t", "uint32_t", "bool", "struct upb_string*", "", "", - "struct upb_string*", "uint32_t", "uint32_t", "int32_t", "int64_t", + "struct upb_string*", "uint32_t", "int32_t", "int32_t", "int64_t", "int32_t", "int64_t" }; fprintf(stream, " %s " UPB_STRFMT ";\n", |