summaryrefslogtreecommitdiff
path: root/upb/upb.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-09-20 20:32:25 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-09-20 20:32:25 -0700
commitc0a08a6827a294f74b0ee5feaf5542081cff4381 (patch)
treea54e053d050f648d52369fcf2932fdc7a872703f /upb/upb.h
parent56f7a345d7572e118d4a370bb8e79b328d16bc0e (diff)
Fixes to get upb to compile inside Google.
Diffstat (limited to 'upb/upb.h')
-rw-r--r--upb/upb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/upb.h b/upb/upb.h
index e2a7dc3..8c78d9a 100644
--- a/upb/upb.h
+++ b/upb/upb.h
@@ -115,7 +115,7 @@ typedef struct {
uint8_t size;
uint8_t native_wire_type;
uint8_t inmemory_type; // For example, INT32, SINT32, and SFIXED32 -> INT32
- char *ctype;
+ const char *ctype;
} upb_type_info;
// A static array of info about all of the field types, indexed by type number.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback