mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
ucm: main - fix the compilation error (signess)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
c087bc1e44
commit
87034d6fc6
1 changed files with 1 additions and 1 deletions
|
|
@ -307,7 +307,7 @@ static const char *parse_uint(const char *p, const char *prefix, size_t len,
|
|||
uc_error("unable to parse '%s'", prefix);
|
||||
return NULL;
|
||||
}
|
||||
if (v < min || v > max) {
|
||||
if ((unsigned int)v < min || (unsigned int)v > max) {
|
||||
uc_error("value '%s' out of range %u-%u %(%ld)", min, max, v);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue