fixed sun pro warnings

This commit is contained in:
Jeff Hill
2001-03-07 17:50:54 +00:00
parent 9f55d94f8b
commit 4e570ce710
3 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ class dbSubscriptionIO : public cacNotifyIO, public tsDLNode <dbSubscriptionIO>
public:
dbSubscriptionIO ( dbChannelIO &chanIO, cacNotify &, unsigned type, unsigned long count );
void cancel ();
int begin ( struct dbAddr &addr, unsigned mask );
int begin ( unsigned mask );
//void destroy ();
void show ( unsigned level ) const;
cacChannelIO & channelIO () const;

View File

@@ -171,7 +171,7 @@ int dbChannelIO::subscribe ( unsigned type, unsigned long count,
return ECA_ALLOCMEM;
}
int status = pIO->begin ( this->addr, mask );
int status = pIO->begin ( mask );
if ( status == ECA_NORMAL ) {
pReturnIO = pIO;
}

View File

@@ -80,7 +80,7 @@ extern "C" void dbSubscriptionEventCallback ( void *pPrivate, struct dbAddr *pad
pIO->chan.subscriptionUpdate ( pIO->type, pIO->count, pfl, *pIO);
}
int dbSubscriptionIO::begin ( struct dbAddr &addr, unsigned mask )
int dbSubscriptionIO::begin ( unsigned mask )
{
if ( this->type > INT_MAX ) {
return ECA_BADCOUNT;