diff --git a/src/ca/netReadCopyIO.cpp b/src/ca/netReadCopyIO.cpp index ce76c86b1..e173e170e 100644 --- a/src/ca/netReadCopyIO.cpp +++ b/src/ca/netReadCopyIO.cpp @@ -73,8 +73,9 @@ void netReadCopyIO::exceptionNotify ( int status, void netReadCopyIO::show ( unsigned level ) const { + int tmpType = static_cast ( this->type ); printf ( "read copy IO at %p, type %s, element count %u\n", - this, dbf_type_to_text ( this->type ), this->count ); + this, dbf_type_to_text ( tmpType ), this->count ); if ( level > 0u ) { printf ( "\tsequence number %u, user's storage %p\n", this->seqNumber, this->pValue );