]> git.alsa-project.org Git - alsa-tools.git/commit
as10k1: make (extern) declarations and definition of macro_depth
authorMichael Tautschnig <tautschn@amazon.com>
Thu, 12 Oct 2023 09:02:53 +0000 (09:02 +0000)
committerJaroslav Kysela <perex@perex.cz>
Wed, 24 Jan 2024 18:09:41 +0000 (19:09 +0100)
commitf2985c9f33349ba90e605aa806d4b909aed41df4
treecd818cbab15d159c5f05497b26646463c741e9d6
parent4bfaf097e07a96bc61d95d913ec2ec2990b4b8a2
as10k1: make (extern) declarations and definition of macro_depth

All `extern` declarations refer to it as `unsigned int`, but the actual
definition is a signed integer.

Reported by CBMC's goto-cc compiler, which performs type-aware linking.

Closes: https://github.com/alsa-project/alsa-tools/pull/19
Signed-off-by: Michael Tautschnig <tautschn@amazon.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
as10k1/as10k1.h