diff options
-rw-r--r-- | benchmarks/parsetostruct.upb_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/parsetostruct.upb_table.c b/benchmarks/parsetostruct.upb_table.c index 5007418..4cf2b71 100644 --- a/benchmarks/parsetostruct.upb_table.c +++ b/benchmarks/parsetostruct.upb_table.c @@ -40,7 +40,7 @@ static bool initialize() upb_string_unref(proto_name); def = e.ref.msg; - for(int i = 0; i < 32; i++) + for(int i = 0; i < NUM_MESSAGES; i++) msgs[i] = upb_msg_new(def); // Read the message data itself. @@ -55,7 +55,7 @@ static bool initialize() static void cleanup() { - for(int i = 0; i < 32; i++) + for(int i = 0; i < NUM_MESSAGES; i++) upb_msg_unref(msgs[i]); upb_string_unref(str); upb_context_unref(c); |