aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-11-23 18:24:37 (GMT)
committerJouni Malinen <j@w1.fi>2017-11-23 18:31:12 (GMT)
commit3ca4be1eaa972a8e3ec8158999f53f87c57af270 (patch)
tree3d3dffbf5adfd55bc4333ca1a7549392638b550d /wpa_supplicant
parent116454f460ae24ea68a69551a8fed94bb52da42d (diff)
downloadhostap-3ca4be1eaa972a8e3ec8158999f53f87c57af270.zip
hostap-3ca4be1eaa972a8e3ec8158999f53f87c57af270.tar.gz
hostap-3ca4be1eaa972a8e3ec8158999f53f87c57af270.tar.bz2
DPP: Remove compiler warnings about signed/unsigned comparisons
These timestamp comparisons did not use matching signedness. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/dpp_supplicant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/dpp_supplicant.c b/wpa_supplicant/dpp_supplicant.c
index 3f3fd02..07f2e94 100644
--- a/wpa_supplicant/dpp_supplicant.c
+++ b/wpa_supplicant/dpp_supplicant.c
@@ -2235,7 +2235,7 @@ int wpas_dpp_check_connect(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
os_get_time(&now);
if (ssid->dpp_netaccesskey_expiry &&
- ssid->dpp_netaccesskey_expiry < now.sec) {
+ (os_time_t) ssid->dpp_netaccesskey_expiry < now.sec) {
wpa_msg(wpa_s, MSG_INFO, DPP_EVENT_MISSING_CONNECTOR
"netAccessKey expired");
return -1;