Fix compile warnings with gcc-4

Fixed compile warnings with gcc-4 about pointer signedness.
This commit is contained in:
Takashi Iwai 2005-06-28 10:24:44 +00:00
parent 0350a615b7
commit 7a89e3bbca
17 changed files with 69 additions and 71 deletions

View file

@ -505,7 +505,7 @@ int snd_timer_info_get_card(snd_timer_info_t * info)
const char *snd_timer_info_get_id(snd_timer_info_t * info)
{
assert(info);
return info->id;
return (const char *)info->id;
}
/**
@ -516,7 +516,7 @@ const char *snd_timer_info_get_id(snd_timer_info_t * info)
const char *snd_timer_info_get_name(snd_timer_info_t * info)
{
assert(info);
return info->name;
return (const char *)info->name;
}