Skip to content

Commit

Permalink
Fix protozero_c_plugin build
Browse files Browse the repository at this point in the history
Change-Id: I3171f4033314a4fac1abee0f81e8a35767fea47c
  • Loading branch information
ddiproietto committed Jan 21, 2025
1 parent cc4b7aa commit 8a46e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/protozero/protoc_plugin/protozero_c_plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -448,11 +448,11 @@ class GeneratorJob {
stub_h_->Print(
"PERFETTO_PB_ENUM_IN_MSG_ENTRY($msg$, $val$) = $number$,\n", "msg",
GetCppClassName(enumeration->containing_type()), "val", value_name,
"number", IntLiteralToString(value->number()));
"number", IntLiteralString(value->number()));
} else {
stub_h_->Print("PERFETTO_PB_ENUM_ENTRY($val$) = $number$, \n", "val",
full_namespace_prefix_ + "_" + value_name, "number",
IntLiteralToString(value->number()));
IntLiteralString(value->number()));
}
}
stub_h_->Outdent();
Expand Down

0 comments on commit 8a46e7f

Please sign in to comment.