Skip to content

Commit

Permalink
hpb: extension.h: rm extraneous c-style cast (hidden const_cast)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 702724703
  • Loading branch information
honglooker authored and copybara-github committed Dec 4, 2024
1 parent 60d43aa commit fbffeb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hpb/extension.h
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ GetExtension(
upb_MiniTableExtension_Number(id.mini_table_ext()));
}
return Ptr<const Extension>(::hpb::interop::upb::MakeCHandle<Extension>(
(upb_Message*)value.msg_val, hpb::interop::upb::GetArena(message)));
value.msg_val, hpb::interop::upb::GetArena(message)));
}
}

Expand Down

0 comments on commit fbffeb5

Please sign in to comment.