summaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/plugin_cfg80211.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/traceevent/plugin_cfg80211.c')
-rw-r--r--tools/lib/traceevent/plugin_cfg80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/traceevent/plugin_cfg80211.c b/tools/lib/traceevent/plugin_cfg80211.c
index dcab8e8..57e9822 100644
--- a/tools/lib/traceevent/plugin_cfg80211.c
+++ b/tools/lib/traceevent/plugin_cfg80211.c
@@ -8,7 +8,7 @@ static unsigned long long
process___le16_to_cpup(struct trace_seq *s,
unsigned long long *args)
{
- uint16_t *val = (uint16_t *) args[0];
+ uint16_t *val = (uint16_t *) (unsigned long) args[0];
return val ? (long long) le16toh(*val) : 0;
}
OpenPOWER on IntegriCloud