This commit is contained in:
Jeff Hill
2003-02-21 00:27:12 +00:00
parent 739bc335b7
commit 58837c8297

View File

@@ -130,8 +130,8 @@ epicsUInt16 comQueRecv::multiBufferPopUInt16 ()
{
epicsUInt16 tmp;
if ( this->occupiedBytes() >= sizeof (tmp) ) {
unsigned byte1 = this->popUInt8();
unsigned byte2 = this->popUInt8();
unsigned byte1 = this->popUInt8 ();
unsigned byte2 = this->popUInt8 ();
tmp = static_cast <epicsUInt16> ( ( byte1 << 8u ) | byte2 );
}
else {