mirror of
https://github.com/TomHarte/CLK.git
synced 2025-03-04 17:34:50 +00:00
Adds explicit conversions to qint64
.
This commit is contained in:
parent
3cb1072c29
commit
4f9b3259d5
@ -50,12 +50,12 @@ struct AudioBuffer: public QIODevice {
|
||||
readPointer += nextLength;
|
||||
}
|
||||
|
||||
return dataAvailable;
|
||||
return qint64(dataAvailable);
|
||||
}
|
||||
|
||||
qint64 bytesAvailable() const override {
|
||||
std::lock_guard lock(mutex);
|
||||
return writePointer - readPointer;
|
||||
return qint64(writePointer - readPointer);
|
||||
}
|
||||
|
||||
// Required to make QIODevice concrete; not used.
|
||||
|
Loading…
x
Reference in New Issue
Block a user