fixed gnu warning

This commit is contained in:
Jeff Hill
2001-03-07 17:39:13 +00:00
parent c460c8125c
commit c4b424fa1b
2 changed files with 10 additions and 8 deletions

View File

@@ -204,12 +204,13 @@ void exPV::show(unsigned level) const
{
if (level>1u) {
if ( this->pValue.valid () ) {
printf("exPV: cond=%d\n", this->pValue->getStat());
printf("exPV: sevr=%d\n", this->pValue->getSevr());
printf("exPV: value=%f\n", (double) *this->pValue);
printf ( "exPV: cond=%d\n", this->pValue->getStat () );
printf ( "exPV: sevr=%d\n", this->pValue->getSevr () );
printf ( "exPV: value=%f\n", static_cast < double > ( * this->pValue );
}
printf("exPV: interest=%d\n", this->interest);
printf("exPV: pScanTimer=%p\n", this->pScanTimer);
printf ( "exPV: interest=%d\n", this->interest );
printf ( "exPV: pScanTimer=%p\n",
static_cast < const void * > ( this->pScanTimer ) );
}
}

View File

@@ -76,10 +76,11 @@ casServerReg::~casServerReg()
//
// casIntfOS::show ()
//
void casIntfOS::show (unsigned level) const
void casIntfOS::show ( unsigned level ) const
{
printf ("casIntfOS at %p\n", this);
this->casDGIntfOS::show (level);
printf ( "casIntfOS at %p\n",
static_cast < const void * > ( this ) );
this->casDGIntfOS::show ( level );
}
//