Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/wpa/dist/src/common wpa: fix Clang build
details: https://anonhg.NetBSD.org/src/rev/dadb595eff1a
branches: trunk
changeset: 1021191:dadb595eff1a
user: rillig <rillig%NetBSD.org@localhost>
date: Sat May 15 19:19:55 2021 +0000
description:
wpa: fix Clang build
src/external/bsd/wpa/bin/hostapd/../../dist/src/common/dpp.c:5377:7:
error: format specifies type 'unsigned long' but the argument has type
'os_time_t' (aka 'long long') [-Werror,-Wformat]
diffstat:
external/bsd/wpa/dist/src/common/dpp.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 746ec0484a9a -r dadb595eff1a external/bsd/wpa/dist/src/common/dpp.c
--- a/external/bsd/wpa/dist/src/common/dpp.c Sat May 15 19:12:14 2021 +0000
+++ b/external/bsd/wpa/dist/src/common/dpp.c Sat May 15 19:19:55 2021 +0000
@@ -5373,8 +5373,9 @@
}
if (now.sec > utime) {
- wpa_printf(MSG_DEBUG, "DPP: Key has expired (%lu < %lu)",
- utime, now.sec);
+ wpa_printf(MSG_DEBUG, "DPP: Key has expired (%llu < %llu)",
+ (unsigned long long)utime,
+ (unsigned long long)now.sec);
return 1;
}
Home |
Main Index |
Thread Index |
Old Index