]> git.alsa-project.org Git - alsa-lib.git/commit
ucm: fix the parsing of the hexadecimal prefix
authorJaroslav Kysela <perex@perex.cz>
Tue, 31 Aug 2021 07:40:42 +0000 (09:40 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 31 Aug 2021 07:42:02 +0000 (09:42 +0200)
commit4a52ae4c329ae17117375a4b85b80f37994a4044
treeb5b049459153779d84346297125f11a8afad0885
parent7d40a76ef5494e08af00fa4e7bfefbd43aba4827
ucm: fix the parsing of the hexadecimal prefix

The safe_strtol() function use strtol() which expects
to have the '0x' prefix for the hexadecimal number (when
base argument is zero).

BugLink: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1553
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/ucm/utils.c