mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Fix compile warnings with gcc-4
Fixed compile warnings with gcc-4 about pointer signedness.
This commit is contained in:
parent
0350a615b7
commit
7a89e3bbca
17 changed files with 69 additions and 71 deletions
|
|
@ -319,7 +319,7 @@ int snd_timer_ginfo_get_card(snd_timer_ginfo_t *obj)
|
|||
*/
|
||||
char *snd_timer_ginfo_get_id(snd_timer_ginfo_t *obj)
|
||||
{
|
||||
return obj->id;
|
||||
return (char *)obj->id;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -329,7 +329,7 @@ char *snd_timer_ginfo_get_id(snd_timer_ginfo_t *obj)
|
|||
*/
|
||||
char *snd_timer_ginfo_get_name(snd_timer_ginfo_t *obj)
|
||||
{
|
||||
return obj->name;
|
||||
return (char *)obj->name;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue