comparison src/audio/disk/SDL_diskaudio.c @ 1539:84535f702874

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Wed, 15 Mar 2006 04:29:35 +0000
parents 8dfa9a6d69a5
children c439dad53df8
comparison
equal deleted inserted replaced
1538:b1f8c14f0df5 1539:84535f702874
131 written = SDL_RWwrite(this->hidden->output, 131 written = SDL_RWwrite(this->hidden->output,
132 this->hidden->mixbuf, 1, 132 this->hidden->mixbuf, 1,
133 this->hidden->mixlen); 133 this->hidden->mixlen);
134 134
135 /* If we couldn't write, assume fatal error for now */ 135 /* If we couldn't write, assume fatal error for now */
136 if ( written != this->hidden->mixlen ) { 136 if ( (Uint32)written != this->hidden->mixlen ) {
137 this->enabled = 0; 137 this->enabled = 0;
138 } 138 }
139 #ifdef DEBUG_AUDIO 139 #ifdef DEBUG_AUDIO
140 fprintf(stderr, "Wrote %d bytes of audio data\n", written); 140 fprintf(stderr, "Wrote %d bytes of audio data\n", written);
141 #endif 141 #endif