mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-18 00:30:47 +01:00
unit: Fix compiler warning
unit/test-ie.c: In function ‘ie_test’: unit/test-ie.c:70:2: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
This commit is contained in:
parent
d0e76fda03
commit
f2ae753964
@ -49,7 +49,7 @@ static void ie_test(const void *data)
|
|||||||
const struct test_data *test = data;
|
const struct test_data *test = data;
|
||||||
struct ie_tlv_iter iter;
|
struct ie_tlv_iter iter;
|
||||||
struct ie *ie;
|
struct ie *ie;
|
||||||
int count = 0, pos = 0;
|
unsigned int count = 0, pos = 0;
|
||||||
|
|
||||||
ie_tlv_iter_init(&iter, test->buf, test->len);
|
ie_tlv_iter_init(&iter, test->buf, test->len);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user