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>
This commit is contained in:
Michael Tautschnig 2023-10-12 09:02:53 +00:00 committed by Jaroslav Kysela
parent 4bfaf097e0
commit f2985c9f33

View file

@ -55,6 +55,6 @@ int tram_table_count=0;
int gpr_constant_count=0;
char patch_name[PATCH_NAME_SIZE]="NO_NAME";
int macro_depth=0;
unsigned int macro_depth=0;