From 6941a81d9defe6697cefb37c758e0c986f8f4a04 Mon Sep 17 00:00:00 2001 From: FHIR Team Date: Tue, 15 Oct 2024 19:55:46 -0700 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 686333463 --- 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(); }