Mercurial > SDL_sound_CoreAudio
comparison playsound/playsound.c @ 574:fa4ea28fd997 stable-1.0
Fixed compiler warning.
(transplanted from 3b8748455aff0624acdc50ab1f1857daa27854b3)
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 24 Jan 2010 13:29:27 -0500 |
parents | 45ee760a6f5a |
children | e587ba9d1c87 |
comparison
equal
deleted
inserted
replaced
569:d02c00ce16d9 | 574:fa4ea28fd997 |
---|---|
1012 { | 1012 { |
1013 fprintf(stderr, | 1013 fprintf(stderr, |
1014 "Couldn't fully decode \"%s\"!\n" | 1014 "Couldn't fully decode \"%s\"!\n" |
1015 " reason: [%s].\n" | 1015 " reason: [%s].\n" |
1016 " (playing first %lu bytes of decoded data...)\n", | 1016 " (playing first %lu bytes of decoded data...)\n", |
1017 filename, Sound_GetError(), global_state.decoded_bytes); | 1017 filename, Sound_GetError(), |
1018 (unsigned long) global_state.decoded_bytes); | |
1018 } /* if */ | 1019 } /* if */ |
1019 else | 1020 else |
1020 { | 1021 { |
1021 fprintf(stdout, "done.\n"); | 1022 fprintf(stdout, "done.\n"); |
1022 } /* else */ | 1023 } /* else */ |