1
0
Fork 0

evaluate unsigned integer as a bool

This commit is contained in:
Kevin Matz 2023-05-18 14:39:05 -04:00
parent 13981ff727
commit 4a067ad66b
1 changed files with 1 additions and 1 deletions

View File

@ -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
}