summaryrefslogtreecommitdiff
path: root/upb/bindings/lua/def.c
diff options
context:
space:
mode:
Diffstat (limited to 'upb/bindings/lua/def.c')
-rw-r--r--upb/bindings/lua/def.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/upb/bindings/lua/def.c b/upb/bindings/lua/def.c
index c38b6d1..e16d426 100644
--- a/upb/bindings/lua/def.c
+++ b/upb/bindings/lua/def.c
@@ -639,8 +639,8 @@ static int lupb_symtab_add(lua_State *L) {
lupb_arena_new(L);
arena = lupb_arena_check(L, -1);
- set = google_protobuf_FileDescriptorSet_parsenew(
- upb_stringview_make(str, len), arena);
+ set = google_protobuf_FileDescriptorSet_parsenew(upb_strview_make(str, len),
+ arena);
if (!set) {
luaL_argerror(L, 2, "failed to parse descriptor");
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback