music.c
changeset 779 a2b494c054d5
parent 777 92882ef2ab81
child 780 74df2aa47195
     1.1 --- a/music.c	Tue Oct 17 02:39:45 2017 -0700
     1.2 +++ b/music.c	Tue Oct 17 02:54:52 2017 -0700
     1.3 @@ -149,7 +149,7 @@
     1.4  static void music_internal_volume(int volume);
     1.5  static int  music_internal_play(Mix_Music *music, double position);
     1.6  static int  music_internal_position(double position);
     1.7 -static SDL_bool music_internal_playing();
     1.8 +static SDL_bool music_internal_playing(void);
     1.9  static void music_internal_halt(void);
    1.10  
    1.11  
    1.12 @@ -370,7 +370,7 @@
    1.13  
    1.14  static Mix_MusicType detect_music_type(SDL_RWops *src)
    1.15  {
    1.16 -    char magic[12];
    1.17 +    Uint8 magic[12];
    1.18  
    1.19      if (SDL_RWread(src, magic, 1, 12) != 12) {
    1.20          Mix_SetError("Couldn't read first 12 bytes of audio data");
    1.21 @@ -859,7 +859,7 @@
    1.22  }
    1.23  
    1.24  /* Check the status of the music */
    1.25 -static SDL_bool music_internal_playing()
    1.26 +static SDL_bool music_internal_playing(void)
    1.27  {
    1.28      if (music_playing == NULL) {
    1.29          return SDL_FALSE;