summaryrefslogtreecommitdiff
path: root/core/upb.c
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2011-01-24 21:15:44 -0800
committerJoshua Haberman <joshua@reverberate.org>2011-01-24 21:15:44 -0800
commit93381f1411def0dba5677b71cd4df859d99777f3 (patch)
tree2de4fd9d3e377fe5469028ac057e6ffa7df40f50 /core/upb.c
parentfe659c8c93c464fcbcfb5739935a2e4341d01fd4 (diff)
Decoder compiles again! But probably doesn't work.
Diffstat (limited to 'core/upb.c')
-rw-r--r--core/upb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/upb.c b/core/upb.c
index da2a0f0..ff2d47e 100644
--- a/core/upb.c
+++ b/core/upb.c
@@ -18,7 +18,7 @@
(1 << wire_type) | (allows_delimited << UPB_WIRE_TYPE_DELIMITED), \
#ctype},
-upb_type_info upb_types[] = {
+const upb_type_info upb_types[] = {
{0, 0, 0, 0, ""}, // There is no type 0.
TYPE_INFO(UPB_WIRE_TYPE_64BIT, double, 1) // DOUBLE
TYPE_INFO(UPB_WIRE_TYPE_32BIT, float, 1) // FLOAT
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback