summaryrefslogtreecommitdiff
path: root/upb/msg.c
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-01-29 08:26:00 -0800
committerGitHub <noreply@github.com>2019-01-29 08:26:00 -0800
commit2b62fbce6734eb672ae6ff6fcf258bfff4267ae8 (patch)
treec39dd54ef29a0b6610ebd4794b1646c83c66357a /upb/msg.c
parentc7870e0f77d6331babfdb89f8c83e4e0279b5e70 (diff)
parent3d931557907307ecc19b74e8f3188301b149e99a (diff)
Merge pull request #145 from haberman/arrayapi
Generated code API changes for array and hazzers.
Diffstat (limited to 'upb/msg.c')
-rw-r--r--upb/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/msg.c b/upb/msg.c
index 29ba2e1..c6f0c17 100644
--- a/upb/msg.c
+++ b/upb/msg.c
@@ -51,7 +51,7 @@ static size_t upb_msgval_sizeof(upb_fieldtype_t type) {
return sizeof(void*);
case UPB_TYPE_BYTES:
case UPB_TYPE_STRING:
- return sizeof(upb_stringview);
+ return sizeof(upb_strview);
}
UPB_UNREACHABLE();
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback