From b58f4df8dfef1ece12d5871758a5b0a5192848a5 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 7 Mar 2001 17:56:26 +0000 Subject: [PATCH] fixed sun pro warning --- src/db/dbSubscriptionIO.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/db/dbSubscriptionIO.cpp b/src/db/dbSubscriptionIO.cpp index 62976b04e..1d16c6047 100644 --- a/src/db/dbSubscriptionIO.cpp +++ b/src/db/dbSubscriptionIO.cpp @@ -73,11 +73,11 @@ void dbSubscriptionIO::operator delete ( void *pCadaver, size_t size ) dbSubscriptionIO::freeList.release ( pCadaver, size ); } -extern "C" void dbSubscriptionEventCallback ( void *pPrivate, struct dbAddr *paddr, - int eventsRemaining, struct db_field_log *pfl ) +extern "C" void dbSubscriptionEventCallback ( void *pPrivate, struct dbAddr * /* paddr */, + int /* eventsRemaining */, struct db_field_log *pfl ) { - dbSubscriptionIO *pIO = static_cast ( pPrivate ); - pIO->chan.subscriptionUpdate ( pIO->type, pIO->count, pfl, *pIO); + dbSubscriptionIO *pIO = static_cast < dbSubscriptionIO * > ( pPrivate ); + pIO->chan.subscriptionUpdate ( pIO->type, pIO->count, pfl, *pIO ); } int dbSubscriptionIO::begin ( unsigned mask )