fixed gnu warnings

This commit is contained in:
Jeff Hill
2001-05-23 00:48:41 +00:00
parent 069e25aa72
commit 245bd5ab5e
7 changed files with 30 additions and 26 deletions

View File

@@ -153,7 +153,9 @@ void oldCAC::exception ( int status, const char *pContext,
else {
this->clientCtx.signal ( status, pFileName, lineNo,
"op=%u, channel=%s, type=%s, count=lu, ctx=\"%s\"",
op, ca_name ( &chan ), dbr_type_to_text ( type ), count, pContext );
op, ca_name ( &chan ),
dbr_type_to_text ( static_cast <int> ( type ) ),
count, pContext );
}
}