evaluate unsigned integer as a bool
This commit is contained in:
parent
13981ff727
commit
4a067ad66b
|
@ -841,7 +841,7 @@ void rdm_data::iStream(std::shared_ptr<bufferstream> stream)
|
|||
command = static_cast<RDM::RdmCommand>(stream->get()); // 15
|
||||
*stream >> universe.subuni; // 16
|
||||
data.reserve(stream->available() + 1);
|
||||
while (stream->available() > 0)
|
||||
while (stream->available())
|
||||
data.push_back(stream->get()); // 17
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue