From 781d25a898e7b84b9116bc760444955458a1a39a Mon Sep 17 00:00:00 2001 From: FHIR Team Date: Tue, 30 Dec 2025 20:46:16 -0800 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 850598294 --- cc/google/fhir/fhir_path/utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc/google/fhir/fhir_path/utils.cc b/cc/google/fhir/fhir_path/utils.cc index 7a8790f3aa..b6948801ea 100644 --- a/cc/google/fhir/fhir_path/utils.cc +++ b/cc/google/fhir/fhir_path/utils.cc @@ -129,7 +129,7 @@ absl::Status RetrieveField( root, &field, [&](const Message& child) { // R4+ packs contained resources in Any protos. if (IsMessageType(child)) { - auto any = google::protobuf::DownCastToGenerated(child); + auto any = google::protobuf::DownCastMessage(child); FHIR_ASSIGN_OR_RETURN( Message * unpacked_message,