shared/strbuf: fix signedness of integer comparison in nm_str_buf_append_printf()

This commit is contained in:
Thomas Haller 2020-04-09 13:23:27 +02:00
parent 741258a928
commit 8c637e693a

View file

@ -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;