OpenIndiana and Solaris port
This commit is contained in:
committed by
Jon Trulson
parent
42e891d9e7
commit
01d6c363fa
@@ -257,6 +257,7 @@ Boolean data_t::binaryIn(buffer& buf)
|
||||
{
|
||||
char c; buf.get(c);
|
||||
flag = (data_t::flag_type)c;
|
||||
char* cp;
|
||||
|
||||
unsigned int sz;
|
||||
|
||||
@@ -277,7 +278,8 @@ Boolean data_t::binaryIn(buffer& buf)
|
||||
|
||||
break;
|
||||
}
|
||||
buf.get(*(char*)&dt);
|
||||
cp = (char*)&dt;
|
||||
buf.get(*(long*)cp);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user