fixed some GNU warnings
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ void CASG::reset ()
|
||||
|
||||
void CASG::show ( unsigned level) const
|
||||
{
|
||||
printf ("Sync Group: id=%u, magic=%lu, opPend=%lu, seqNo=%lu\n",
|
||||
printf ("Sync Group: id=%u, magic=%u, opPend=%lu, seqNo=%lu\n",
|
||||
this->getId (), this->magic, this->opPendCount, this->seqNo);
|
||||
|
||||
if ( level ) {
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@
|
||||
* between the 1st and 2nd beacons)
|
||||
*/
|
||||
inline bhe::bhe (class cac &cacIn, const osiTime &initialTimeStamp, const inetAddrID &addr) :
|
||||
cac (cacIn), inetAddrID (addr), piiu (0), timeStamp (initialTimeStamp), averagePeriod (-1.0)
|
||||
inetAddrID (addr), cac (cacIn), piiu (0), timeStamp (initialTimeStamp), averagePeriod (-1.0)
|
||||
{
|
||||
# ifdef DEBUG
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
tsFreeList < class netReadNotifyIO, 1024 > netReadNotifyIO::freeList;
|
||||
|
||||
netReadNotifyIO::netReadNotifyIO ( nciu &chan, cacNotify ¬ifyIn ) :
|
||||
baseNMIU ( chan ), cacNotifyIO ( notifyIn )
|
||||
cacNotifyIO ( notifyIn ), baseNMIU ( chan )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@ tsFreeList < class netSubscription, 1024 > netSubscription::freeList;
|
||||
|
||||
netSubscription::netSubscription ( nciu &chan, chtype typeIn, unsigned long countIn,
|
||||
unsigned short maskIn, cacNotify ¬ifyIn ) :
|
||||
baseNMIU (chan), cacNotifyIO (notifyIn),
|
||||
mask (maskIn), type (typeIn), count (countIn)
|
||||
cacNotifyIO (notifyIn), baseNMIU (chan),
|
||||
type (typeIn), count (countIn), mask (maskIn)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
tsFreeList < class netWriteNotifyIO, 1024 > netWriteNotifyIO::freeList;
|
||||
|
||||
netWriteNotifyIO::netWriteNotifyIO (nciu &chan, cacNotify ¬ifyIn) :
|
||||
baseNMIU (chan), cacNotifyIO (notifyIn)
|
||||
cacNotifyIO (notifyIn), baseNMIU (chan)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user