fixed problem introduced by warning fix

This commit is contained in:
Jeff Hill
2002-10-30 00:36:13 +00:00
parent 784a5f815f
commit dc3bbeb16f
2 changed files with 2 additions and 2 deletions

View File

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