mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -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
|
|
@ -1228,7 +1228,7 @@ static int parse_defs(snd_config_t *father, input_t *input, int skip, int overri
|
|||
|
||||
static void string_print(char *str, int id, snd_output_t *out)
|
||||
{
|
||||
unsigned char *p = str;
|
||||
unsigned char *p = (unsigned char *)str;
|
||||
if (!id) {
|
||||
switch (*p) {
|
||||
case 0:
|
||||
|
|
@ -1268,7 +1268,7 @@ static void string_print(char *str, int id, snd_output_t *out)
|
|||
return;
|
||||
quoted:
|
||||
snd_output_putc(out, '\'');
|
||||
p = str;
|
||||
p = (unsigned char *)str;
|
||||
while (*p) {
|
||||
int c;
|
||||
c = *p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue