Skip to content

Commit

Permalink
music_flac.c: minor warning fix by adding a const char* cast
Browse files Browse the repository at this point in the history
music_flac.c: In function ?flac_metadata_music_cb?:
music_flac.c:424: warning: pointer targets in passing argument 1 of ?SDL_strdup? differ in signedness
  • Loading branch information
sezero committed Nov 18, 2019
1 parent a9eb7fa commit 97ec657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music_flac.c
Expand Up @@ -421,7 +421,7 @@ static void flac_metadata_music_cb(
rate = music->sample_rate;

for (i = 0; i < vc->num_comments; ++i) {
param = SDL_strdup(vc->comments[i].entry);
param = SDL_strdup((const char *) vc->comments[i].entry);
argument = param;
value = SDL_strchr(param, '=');

Expand Down

0 comments on commit 97ec657

Please sign in to comment.