Skip to content

Commit

Permalink
track/serato/markers2: Use QChar when reading single string bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Feb 16, 2020
1 parent c9a38e5 commit b76aecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/track/serato/markers2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ QString zeroTerminatedUtf8StringtoQString(QDataStream* stream) {
DEBUG_ASSERT(stream);

QByteArray data;
quint8 byte = '\xFF';
QChar byte = '\xFF';
while (byte != '\x00') {
*stream >> byte;
data.append(byte);
Expand Down

0 comments on commit b76aecd

Please sign in to comment.