unsigned int8 replaced with uint8_t for windows build

This commit is contained in:
jr76
2011-09-19 11:33:23 +01:00
parent 24d8cb96a3
commit e1dc920661
3 changed files with 3 additions and 3 deletions

View File

@@ -554,7 +554,7 @@ namespace epics {
// second byte version - major/minor nibble
int8 magic = _socketBuffer->getByte();
_version = _socketBuffer->getByte();
if((magic != CA_MAGIC) || (((unsigned int8)_version) >> 4)!=CA_MAJOR_PROTOCOL_REVISION)
if((magic != CA_MAGIC) || (((uint8_t)_version) >> 4)!=CA_MAJOR_PROTOCOL_REVISION)
{
// error... disconnect
LOG(