P2P: Fix compilation warning in p2p_supplicant.c
On some architectures unsigned int differs from size_t, and some compilers warn about it. Signed-off-by: Max Stepanov <Max.Stepanov@intel.com>
This commit is contained in:
parent
14220fe64c
commit
5cdd729e26
1 changed files with 1 additions and 1 deletions
|
@ -3369,7 +3369,7 @@ static int wpas_p2p_get_center_80mhz(struct wpa_supplicant *wpa_s,
|
||||||
u8 channel)
|
u8 channel)
|
||||||
{
|
{
|
||||||
u8 center_channels[] = { 42, 58, 106, 122, 138, 155 };
|
u8 center_channels[] = { 42, 58, 106, 122, 138, 155 };
|
||||||
unsigned int i;
|
size_t i;
|
||||||
|
|
||||||
if (mode->mode != HOSTAPD_MODE_IEEE80211A)
|
if (mode->mode != HOSTAPD_MODE_IEEE80211A)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue