Changes for HP-UX 11 - first semi-stable version
This commit is contained in:
@@ -115,6 +115,7 @@ epicsUInt8 comQueRecv::popUInt8 ()
|
||||
return tmp;
|
||||
}
|
||||
throw insufficentBytesAvailable ();
|
||||
return 0; // make compiler happy
|
||||
}
|
||||
|
||||
// optimization here complicates this function somewhat
|
||||
@@ -135,12 +136,13 @@ epicsUInt16 comQueRecv::popUInt16 ()
|
||||
}
|
||||
else {
|
||||
// split between buffers runs slower
|
||||
tmp = this->popUInt8() << 8u;
|
||||
tmp |= this->popUInt8() << 0u;
|
||||
tmp = this->popUInt8() << 8u; // X aCC 818
|
||||
tmp |= this->popUInt8() << 0u; // X aCC 818
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
throw insufficentBytesAvailable ();
|
||||
return 0; // make compiler happy
|
||||
}
|
||||
|
||||
// optimization here complicates this function somewhat
|
||||
@@ -169,4 +171,5 @@ epicsUInt32 comQueRecv::popUInt32 ()
|
||||
return tmp;
|
||||
}
|
||||
throw insufficentBytesAvailable ();
|
||||
return 0; // make compiler happy
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user