fixed sun pro warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user