remove warning about signed-unsigned comparison

This commit is contained in:
Andrew Meadows 2015-02-20 09:00:28 -08:00
parent aa667464c0
commit c3dbae1bd3

View file

@ -1083,7 +1083,7 @@ void AudioClient::outputNotify() {
if (recentUnfulfilled > 0) {
if (_outputStarveDetectionEnabled.get()) {
quint64 now = usecTimestampNow() / 1000;
quint64 dt = now - _outputStarveDetectionStartTimeMsec;
int dt = (int)(now - _outputStarveDetectionStartTimeMsec);
if (dt > _outputStarveDetectionPeriodMsec.get()) {
_outputStarveDetectionStartTimeMsec = now;
_outputStarveDetectionCount = 0;