From fbffeb5e04e7879b70071b0a0f97974d3411bd66 Mon Sep 17 00:00:00 2001 From: Hong Shin Date: Wed, 4 Dec 2024 07:53:11 -0800 Subject: [PATCH] hpb: extension.h: rm extraneous c-style cast (hidden const_cast) PiperOrigin-RevId: 702724703 --- hpb/extension.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hpb/extension.h b/hpb/extension.h index 722480c5f92b..aadb88e25c59 100644 --- a/hpb/extension.h +++ b/hpb/extension.h @@ -302,7 +302,7 @@ GetExtension( upb_MiniTableExtension_Number(id.mini_table_ext())); } return Ptr(::hpb::interop::upb::MakeCHandle( - (upb_Message*)value.msg_val, hpb::interop::upb::GetArena(message))); + value.msg_val, hpb::interop::upb::GetArena(message))); } }