fixed gnu warnings

This commit is contained in:
Jeff Hill
2001-02-16 03:19:38 +00:00
parent 10c1cd7569
commit a1801b7808
5 changed files with 16 additions and 10 deletions

View File

@@ -165,7 +165,8 @@ dbEventSubscription dbServiceIO::subscribe ( struct dbAddr &addr, dbSubscription
void dbServiceIO::show ( unsigned level ) const
{
this->mutex.lock ();
printf ( "dbServiceIO at %p\n", this );
printf ( "dbServiceIO at %p\n",
static_cast <const void *> ( this ) );
if (level > 0u ) {
printf ( "\tevent call back cache location %p, and its size %lu\n",
this->pEventCallbackCache, this->eventCallbackCacheSize );