diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-01-31 17:47:50 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-31 17:47:50 +0100 |
commit | bfcb26f9f7b893e24ebeeb76232c5cd0066d087e (patch) | |
tree | bf204e4be8a060b8003346defa68dc67cbd6e79f /amixer | |
parent | cd39cfb480cd3ee6b771de33925094892b3be9fe (diff) | |
download | alsa-utils-bfcb26f9f7b893e24ebeeb76232c5cd0066d087e.tar.gz |
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>
Diffstat (limited to 'amixer')
-rw-r--r-- | amixer/amixer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/amixer/amixer.c b/amixer/amixer.c index 5d5afce..c7c879d 100644 --- a/amixer/amixer.c +++ b/amixer/amixer.c @@ -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 |