|
@@ -11,7 +11,7 @@ std::ostream& operator<<(std::ostream& os, const BinarySizeT& output)
|
|
|
std::istream& operator>>(std::istream& is, BinarySizeT& input)
|
|
|
{
|
|
|
size_t inval;
|
|
|
- is.read(reinterpret_cast<const char*>(&inval), sizeof(inval));
|
|
|
+ is.read(reinterpret_cast<char*>(&inval), sizeof(inval));
|
|
|
|
|
|
input.data = inval;
|
|
|
|
|
@@ -29,7 +29,7 @@ std::ostream& operator<<(std::ostream& os, const BinaryBool& output)
|
|
|
std::istream& operator>>(std::istream& is, BinaryBool& input)
|
|
|
{
|
|
|
uint8_t inval;
|
|
|
- is.read(reinterpret_cast<const char*>(&inval), sizeof(inval));
|
|
|
+ is.read(reinterpret_cast<char*>(&inval), sizeof(inval));
|
|
|
|
|
|
input.data = (inval > 0 ? true : false);
|
|
|
|