fixed gnu warnings

This commit is contained in:
Jeff Hill
2001-04-20 00:50:19 +00:00
parent a42a95f60a
commit 00641af25c
7 changed files with 14 additions and 7 deletions

View File

@@ -163,6 +163,7 @@ void oldCAC::show ( unsigned level ) const
{
::printf ( "oldCAC at %p\n",
static_cast <const void *> ( this ) );
#if 0 // gnu compiler does not like casting func ptr to void ptr
::printf ( "exception func at %p arg at %p\n",
static_cast <const void *> ( this->ca_exception_func ),
static_cast <const void *> ( this->ca_exception_arg ) );
@@ -171,8 +172,10 @@ void oldCAC::show ( unsigned level ) const
::printf ( "fd registration func at %p arg at %p\n",
static_cast <const void *> ( this->fdRegFunc ),
static_cast <const void *> ( this->fdRegArg ) );
#endif
if ( level > 0u ) {
this->mutex.show ( level - 1u );
this->clientCtx.show ( level - 1u );
}
}
}