mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 23:30:28 +01:00
shared/strbuf: fix signedness of integer comparison in nm_str_buf_append_printf()
This commit is contained in:
parent
741258a928
commit
8c637e693a
1 changed files with 1 additions and 1 deletions
|
|
@ -4747,7 +4747,7 @@ nm_str_buf_append_printf (NMStrBuf *strbuf,
|
|||
va_end (args);
|
||||
|
||||
nm_assert (l >= 0);
|
||||
nm_assert (l == l2 - 1);
|
||||
nm_assert ((gsize) l == l2 - 1u);
|
||||
}
|
||||
|
||||
strbuf->_priv_len += (gsize) l;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue