From 483d2f436ef8b0044775b9a1f6eacc53220a4fd2 Mon Sep 17 00:00:00 2001 From: FHIR Team Date: Mon, 7 Oct 2024 22:02:57 -0700 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 683458553 --- cc/google/fhir/r4/codeable_concepts.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc/google/fhir/r4/codeable_concepts.cc b/cc/google/fhir/r4/codeable_concepts.cc index 243c0f551..081154d05 100644 --- a/cc/google/fhir/r4/codeable_concepts.cc +++ b/cc/google/fhir/r4/codeable_concepts.cc @@ -287,7 +287,7 @@ absl::Status AddCoding(Message* concept_proto, const Coding& coding) { Message* target_coding = MutableOrAddMessage(concept_proto, profiled_field); CodingWithFixedCode* fixed_system_code = - google::protobuf::DownCastToGenerated(target_coding); + google::protobuf::DownCastMessage(target_coding); CopyCommonCodingFields(coding, fixed_system_code); return absl::OkStatus(); }