From d36da3e81bc04f16ae38b5c5bd29d2968ede176b Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Wed, 16 Jan 2002 16:08:08 +0000 Subject: [PATCH] Explicit cast to fix HP aCC warning. --- src/ca/comQueRecv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ca/comQueRecv.h b/src/ca/comQueRecv.h index 9adca148f..9b006b809 100644 --- a/src/ca/comQueRecv.h +++ b/src/ca/comQueRecv.h @@ -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; }