aboutsummaryrefslogtreecommitdiffstats
path: root/caputils
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-05-22 03:37:14 +0100
committerJoão Valverde <j@v6e.pt>2016-05-22 04:55:34 +0000
commit77fd31e60a527899dfc7998f851bb8f4ab10b82b (patch)
tree3a8e7e1fe4ac3a350d6983b64f1e1668973c3f95 /caputils
parent1f9a2dc886ff5f8dbd6872fed5165d8a0ba20e39 (diff)
Revert "ws80211: Disable shorten-64-to-32."
This reverts commit b8f90de70efa2d271274fbb48df12737f6eddd12. Change-Id: Ic7eaf288d1937a986c2ec85ba43a94ac20b6e12e Reviewed-on: https://code.wireshark.org/review/15520 Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'caputils')
-rw-r--r--caputils/ws80211_utils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/caputils/ws80211_utils.c b/caputils/ws80211_utils.c
index a8f23a7198..66e935fa87 100644
--- a/caputils/ws80211_utils.c
+++ b/caputils/ws80211_utils.c
@@ -727,8 +727,6 @@ out_err:
return -1;
}
-/* Needed for NLA_PUT_STRING, which passes strlen as an int */
-DIAG_OFF(shorten-64-to-32)
static int ws80211_create_on_demand_interface(const char *name)
{
int devidx, phyidx, err;
@@ -767,7 +765,6 @@ nla_put_failure:
fprintf(stderr, "building message failed\n");
return 2;
}
-DIAG_ON(shorten-64-to-32)
int ws80211_set_freq(const char *name, int freq, int chan_type, int _U_ center_freq, int _U_ center_freq2)
{