mirror of https://github.com/odrling/Aegisub
Fix by triton - use "uint64_t" instead of "unsigned int64_t" to fix compilation with GCC.
Originally committed to SVN as r1593.
This commit is contained in:
parent
f97501f254
commit
5a713aa717
|
@ -166,7 +166,7 @@ int PortAudioPlayer::paCallback(const void *inputBuffer, void *outputBuffer,
|
|||
|
||||
// Calculate how much left
|
||||
int64_t lenAvailable = player->endPos - player->playPos;
|
||||
unsigned int64_t avail = 0;
|
||||
uint64_t avail = 0;
|
||||
if (lenAvailable > 0) {
|
||||
avail = lenAvailable;
|
||||
if (avail > framesPerBuffer) {
|
||||
|
|
Loading…
Reference in New Issue