diff --git a/src/cas/generic/casStrmClient.cc b/src/cas/generic/casStrmClient.cc index 8e84c06bf..b6c5411a0 100644 --- a/src/cas/generic/casStrmClient.cc +++ b/src/cas/generic/casStrmClient.cc @@ -2161,7 +2161,7 @@ caStatus casStrmClient::writeArrayData() // // install allocated area into the DD // - pDD->putRef ( pData, type, pDestructor ); + pDD->putRef ( pData, bestWritePrimType, pDestructor ); // // convert the data from the protocol buffer