diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-07-01 20:38:12 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-07-01 20:38:12 +0000 |
commit | c015eb19724bc4519cc48201045adb90ee1c9779 (patch) | |
tree | ed28283623848d543a27649794408bf3eac147ee /ws80211_utils.c | |
parent | b26abebc27ce07f7e2606c546c1ece9c77c6b238 (diff) | |
download | wireshark-c015eb19724bc4519cc48201045adb90ee1c9779.tar.gz |
Add some casts to try to appease the Ubuntu buildbot, which is angry from r50303.
svn path=/trunk/; revision=50306
Diffstat (limited to 'ws80211_utils.c')
-rw-r--r-- | ws80211_utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ws80211_utils.c b/ws80211_utils.c index bf580ff1f7..57b7a8f1aa 100644 --- a/ws80211_utils.c +++ b/ws80211_utils.c @@ -138,9 +138,9 @@ static int nl80211_do_cmd(struct nl_msg *msg, struct nl_cb *cb) err = 1; - nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err); - nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err); - nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err); + nl_cb_err(cb, NL_CB_CUSTOM, error_handler, (void *)&err); + nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, (void *)&err); + nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, (void *)&err); while (err > 0) nl_recvmsgs(nl_state.nl_sock, cb); |