amixer: Fix dB value outputs in amixer contents

Add missing cast to signed int for DB_MINMAX* types.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2013-01-31 17:47:50 +01:00
parent cd39cfb480
commit bfcb26f9f7

View file

@ -560,9 +560,9 @@ static void decode_tlv(unsigned int spaces, unsigned int *tlv, unsigned int tlv_
}
} else {
printf("min=");
print_dB(tlv[2]);
print_dB((int)tlv[2]);
printf(",max=");
print_dB(tlv[3]);
print_dB((int)tlv[3]);
}
break;
#endif
@ -600,9 +600,9 @@ static void decode_tlv(unsigned int spaces, unsigned int *tlv, unsigned int tlv_
}
} else {
printf("min=");
print_dB(tlv[2]);
print_dB((int)tlv[2]);
printf(",max=");
print_dB(tlv[3]);
print_dB((int)tlv[3]);
}
break;
#endif