Skip to content

Commit

Permalink
hpb: extension.h: rm extraneous const_cast
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 698912066
  • Loading branch information
honglooker authored and copybara-github committed Nov 21, 2024
1 parent f497c18 commit e307280
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 @@ -301,7 +301,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 e307280

Please sign in to comment.