merge
This commit is contained in:
@@ -591,7 +591,7 @@ namespace epics {
|
||||
// second byte version - major/minor nibble
|
||||
int8 magic = _socketBuffer->getByte();
|
||||
_version = _socketBuffer->getByte();
|
||||
if(unlikely((magic != CA_MAGIC) || (((unsigned int8)_version) >> 4)!=CA_MAJOR_PROTOCOL_REVISION))
|
||||
if(unlikely((magic != CA_MAGIC) || (((uint8_t)_version) >> 4)!=CA_MAJOR_PROTOCOL_REVISION))
|
||||
{
|
||||
// error... disconnect
|
||||
LOG(
|
||||
|
||||
Reference in New Issue
Block a user