summaryrefslogtreecommitdiff
path: root/upb
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-07-15 16:44:03 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-07-15 16:44:03 -0700
commitb6ca2718c8e9fcb601054b76af96e22920a2070e (patch)
tree72aa1575ca4099fb755d468aeebb983b6ac19654 /upb
parent10265aa56b22ac4f04e7ba08330138e4507534e4 (diff)
Make Lua extension build again.
Diffstat (limited to 'upb')
-rw-r--r--upb/def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/def.h b/upb/def.h
index 4a7a017..91eb2ca 100644
--- a/upb/def.h
+++ b/upb/def.h
@@ -227,7 +227,7 @@ INLINE upb_fielddef *upb_msgdef_itof(upb_msgdef *m, uint32_t i) {
return e ? e->f : NULL;
}
-INLINE upb_fielddef *upb_msgdef_ntof(upb_msgdef *m, char *name) {
+INLINE upb_fielddef *upb_msgdef_ntof(upb_msgdef *m, const char *name) {
upb_ntof_ent *e = (upb_ntof_ent*)upb_strtable_lookup(&m->ntof, name);
return e ? e->f : NULL;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback