summaryrefslogtreecommitdiff
path: root/tests/test_vs_proto2.cc
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-08-04 17:21:24 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-08-04 17:21:24 -0700
commit6981e468a3234b3f5439dec8178703a6364cfe03 (patch)
treeea4d4059344e45ca3181b3bf56a28e3418366561 /tests/test_vs_proto2.cc
parentc2c853fa212adcdc29dae4f4d01d6ac907d60c58 (diff)
More work on Lua extension, and consequent core refactoring.
Diffstat (limited to 'tests/test_vs_proto2.cc')
-rw-r--r--tests/test_vs_proto2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_vs_proto2.cc b/tests/test_vs_proto2.cc
index 0444d40..b22c620 100644
--- a/tests/test_vs_proto2.cc
+++ b/tests/test_vs_proto2.cc
@@ -30,7 +30,7 @@ void compare_arrays(const google::protobuf::Reflection *r,
{
ASSERT(upb_msg_has(upb_msg, upb_f));
ASSERT(upb_isseq(upb_f));
- void *arr = upb_value_getptr(upb_msg_get(upb_msg, upb_f));
+ void *arr = upb_value_getptr(upb_msg_getseq(upb_msg, upb_f));
void *iter = upb_seq_begin(arr, upb_f);
for(int i = 0;
i < r->FieldSize(proto2_msg, proto2_f);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback