3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02: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:
Denis Kenzior 2014-07-15 18:40:49 -05:00
parent d0e76fda03
commit f2ae753964

View File

@ -49,7 +49,7 @@ static void ie_test(const void *data)
const struct test_data *test = data;
struct ie_tlv_iter iter;
struct ie *ie;
int count = 0, pos = 0;
unsigned int count = 0, pos = 0;
ie_tlv_iter_init(&iter, test->buf, test->len);