Merge remote-tracking branch 'schneider42/37-16gib-off_t-fix'

This commit is contained in:
Mike Walters
2015-10-04 00:22:06 +01:00
4 changed files with 8 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ void Spectrogram::paintEvent(QPaintEvent *event)
if (inputSource != nullptr) {
int height = rect.height();
int y = rect.y();
off_t y = rect.y();
QImage image(fftSize, height, QImage::Format_RGB32);
@@ -216,7 +216,7 @@ int Spectrogram::getStride()
return fftSize / pow(2, zoomLevel);
}
off_t Spectrogram::lineToSample(int line) {
off_t Spectrogram::lineToSample(off_t line) {
return line * getStride();
}