mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-21 01:40:09 -05:00
topology: fix some gcc10 warnings (labs, signess)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
dc778bade6
commit
6ca1ddfbcd
2 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ static ssize_t write_block_header(snd_tplg_t *tplg, unsigned int type,
|
|||
" offset 0x%zx is %s by %ld bytes",
|
||||
tplg->next_hdr_pos, tplg->bin_pos,
|
||||
tplg->bin_pos > tplg->next_hdr_pos ? "ahead" : "behind",
|
||||
labs(tplg->bin_pos - tplg->next_hdr_pos));
|
||||
tplg->bin_pos - tplg->next_hdr_pos);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue