projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
14220fe
)
P2P: Fix compilation warning in p2p_supplicant.c
author
Max Stepanov
<Max.Stepanov@intel.com>
Tue, 6 Sep 2016 06:44:33 +0000
(09:44 +0300)
committer
Jouni Malinen
<j@w1.fi>
Thu, 22 Sep 2016 20:33:44 +0000
(23:33 +0300)
On some architectures unsigned int differs from size_t, and
some compilers warn about it.
Signed-off-by: Max Stepanov <Max.Stepanov@intel.com>
wpa_supplicant/p2p_supplicant.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/p2p_supplicant.c
b/wpa_supplicant/p2p_supplicant.c
index
b89d43e
..
b1fdc28
100644
(file)
--- a/
wpa_supplicant/p2p_supplicant.c
+++ b/
wpa_supplicant/p2p_supplicant.c
@@
-3369,7
+3369,7
@@
static int wpas_p2p_get_center_80mhz(struct wpa_supplicant *wpa_s,
u8 channel)
{
u8 center_channels[] = { 42, 58, 106, 122, 138, 155 };
-
unsigned in
t i;
+
size_
t i;
if (mode->mode != HOSTAPD_MODE_IEEE80211A)
return 0;