diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-07-15 16:44:03 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-07-15 16:44:03 -0700 |
commit | b6ca2718c8e9fcb601054b76af96e22920a2070e (patch) | |
tree | 72aa1575ca4099fb755d468aeebb983b6ac19654 /upb | |
parent | 10265aa56b22ac4f04e7ba08330138e4507534e4 (diff) |
Make Lua extension build again.
Diffstat (limited to 'upb')
-rw-r--r-- | upb/def.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |