Fixed issues building 64-bit Windows binary
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403783
This commit is contained in:
parent
d4dca0dbc5
commit
d036689ab0
9 changed files with 37 additions and 33 deletions
|
@ -67,14 +67,14 @@ DISKAUD_WaitDevice(_THIS)
|
|||
static void
|
||||
DISKAUD_PlayDevice(_THIS)
|
||||
{
|
||||
int written;
|
||||
size_t written;
|
||||
|
||||
/* Write the audio data */
|
||||
written = SDL_RWwrite(this->hidden->output,
|
||||
this->hidden->mixbuf, 1, this->hidden->mixlen);
|
||||
|
||||
/* If we couldn't write, assume fatal error for now */
|
||||
if ((Uint32) written != this->hidden->mixlen) {
|
||||
if (written != this->hidden->mixlen) {
|
||||
this->enabled = 0;
|
||||
}
|
||||
#ifdef DEBUG_AUDIO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue