music.c
changeset 644 030181ff9f59
parent 629 87c536d57d92
child 648 bd8389c6dd20
     1.1 --- a/music.c	Mon Jun 17 07:17:07 2013 -0700
     1.2 +++ b/music.c	Tue Jun 18 00:44:41 2013 -0700
     1.3 @@ -163,7 +163,7 @@
     1.4  
     1.5  static void add_music_decoder(const char *decoder)
     1.6  {
     1.7 -    void *ptr = SDL_realloc((void *)music_decoders, (num_decoders + 1) * sizeof (const char **));
     1.8 +    void *ptr = SDL_realloc((void *)music_decoders, (num_decoders + 1) * sizeof (const char *));
     1.9      if (ptr == NULL) {
    1.10          return;  /* oh well, go on without it. */
    1.11      }