summaryrefslogtreecommitdiff
path: root/core/upb.c
diff options
context:
space:
mode:
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