Explicit cast to fix HP aCC warning.

This commit is contained in:
Ralph Lange
2002-01-16 16:08:08 +00:00
parent 8c89a40e80
commit d36da3e81b

View File

@@ -55,8 +55,8 @@ inline epicsInt8 comQueRecv::popInt8 ()
inline epicsInt16 comQueRecv::popInt16 ()
{
epicsInt16 tmp;
tmp = this->popInt8() << 8u;
tmp |= this->popInt8() << 0u;
tmp = static_cast < epicsInt16 > ( this->popInt8() << 8u );
tmp |= static_cast < epicsInt16 > ( this->popInt8() << 0u );
return tmp;
}