fix 64bit stuff

Originally committed to SVN as r471.
This commit is contained in:
David Lamparter 2006-07-07 22:47:55 +00:00
parent 4e729994e5
commit 4f616b6775
3 changed files with 3 additions and 2 deletions

View File

@ -129,6 +129,7 @@ AC_CXX_FLAG([-Wall])
AC_CXX_FLAG([-Wextra],[AC_CXX_FLAG([-W])])
AC_CXX_FLAG([-Wno-unused-parameter])
AC_CXX_FLAG([-Wno-long-long])
AC_CXX_FLAG([-fpermissive])
AC_CXX_FLAG([-std=c++98])

View File

@ -1305,7 +1305,7 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event) {
// Send data to provider
scrubProvider->Append(buf,bufSize);
if (!player->IsPlaying()) player->Play(0,0xFFFFFFFFFFFF);
if (!player->IsPlaying()) player->Play(0,~0ULL);
delete buf;
}
}

View File

@ -51,7 +51,7 @@ StreamAudioProvider::StreamAudioProvider() {
endPos = BUFSIZE;
buffered = 0;
hasBuf = false;
num_samples = 0xFFFFFFFFFFFFFF;
num_samples = ~0ULL;
}