From 527a544b04d324e3772081fe51ef8e405124704f Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sun, 30 Aug 2009 20:04:38 -0700 Subject: Small bugfix: enums are int32, not uint32. --- tools/upbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/upbc.c') 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", -- cgit v1.2.3