From ff8e438e306dea8a5b333449aa07583148c58fbe Mon Sep 17 00:00:00 2001
From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de>
Date: Fri, 28 Feb 2025 08:55:22 +0100
Subject: [PATCH] taxis: added support for CDI_KEY_DATATYPE

---
 src/pio_server.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pio_server.c b/src/pio_server.c
index bdda03d49..a9f4c7c3d 100644
--- a/src/pio_server.c
+++ b/src/pio_server.c
@@ -246,8 +246,8 @@ readFuncCall(struct winHeaderEntry *header, size_t streamIdx)
         int position = header->offset;
         int changedTaxisID = taxisUnpack((char *) rxWin[streamIdx].clientBuf[0].mem, (int) rxWin[streamIdx].clientBuf[0].size,
                                          &position, originNamespace, &pioInterComm, 0);
-        taxis_t *oldTaxisPtr = taxisPtr(oldTaxisID);
-        taxis_t *changedTaxisPtr = taxisPtr(changedTaxisID);
+        taxis_t *oldTaxisPtr = taxis_to_pointer(oldTaxisID);
+        taxis_t *changedTaxisPtr = taxis_to_pointer(changedTaxisID);
         ptaxisCopy(oldTaxisPtr, changedTaxisPtr);
         taxisDestroy(changedTaxisID);
         streamDefTimestep(streamID, funcArgs->streamNewTimestep.tsID);
-- 
GitLab