diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2022-12-27 20:13:04 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2022-12-27 20:13:04 +0000 |
commit | 57bcd320e2c92d4003009ff364ee5cf6c33a465b (patch) | |
tree | b9e6d7ac97a719aa327ff140fce95f02e4d8f51f /sys/net80211/ieee80211_input.c | |
parent | f6c770ef68ef15fa78863f861947f4249c092ae3 (diff) |
Fix array bounds mismatch with clang 15
New warning -Warray-parameter is a bit overzealous.
ok millert@ tb@
Diffstat (limited to 'sys/net80211/ieee80211_input.c')
-rw-r--r-- | sys/net80211/ieee80211_input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_input.c b/sys/net80211/ieee80211_input.c index 212209fb7e3..220fe94908a 100644 --- a/sys/net80211/ieee80211_input.c +++ b/sys/net80211/ieee80211_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_input.c,v 1.247 2022/03/20 12:01:58 stsp Exp $ */ +/* $OpenBSD: ieee80211_input.c,v 1.248 2022/12/27 20:13:03 patrick Exp $ */ /*- * Copyright (c) 2001 Atsushi Onoe @@ -87,8 +87,8 @@ int ieee80211_parse_edca_params_body(struct ieee80211com *, const u_int8_t *); int ieee80211_parse_edca_params(struct ieee80211com *, const u_int8_t *); int ieee80211_parse_wmm_params(struct ieee80211com *, const u_int8_t *); -enum ieee80211_cipher ieee80211_parse_rsn_cipher(const u_int8_t[]); -enum ieee80211_akm ieee80211_parse_rsn_akm(const u_int8_t[]); +enum ieee80211_cipher ieee80211_parse_rsn_cipher(const u_int8_t *); +enum ieee80211_akm ieee80211_parse_rsn_akm(const u_int8_t *); int ieee80211_parse_rsn_body(struct ieee80211com *, const u_int8_t *, u_int, struct ieee80211_rsnparams *); int ieee80211_save_ie(const u_int8_t *, u_int8_t **); |