]> git.alsa-project.org Git - alsa-utils.git/commit
Use %lli for long long in printf
authorMichael Forney <mforney@mforney.org>
Wed, 5 Feb 2020 08:12:20 +0000 (00:12 -0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Feb 2020 11:39:17 +0000 (12:39 +0100)
commit646b3b1c0badbfd1b2ea7b82eb59d43a460c531c
treee408fb9033f15a1b4e61e49b73fdc1dc7385e79d
parent62a765087e3885a463dbf0d888c5d666da9ee7b3
Use %lli for long long in printf

The `L` length modifier only applies to floating-point conversion
specifiers, and `ll` is used for `long long` integers.

Although glibc accepts %Li, musl does not and returns EINVAL.

Signed-off-by: Michael Forney <mforney@mforney.org>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
alsactl/state.c
amixer/amixer.c