diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-09-30 09:35:30 +0200 |
---|---|---|
committer | Dario Lombardo <lomato@gmail.com> | 2016-09-30 13:57:51 +0000 |
commit | 53c91974c7e8f77555920e137cab80b5418e992b (patch) | |
tree | 9019b96edbb1383e8623a6f963644d998210d91f /ws_diag_control.h | |
parent | c5655dcfbfb3b392e2bc65e1c7486a5839e047e4 (diff) | |
download | wireshark-53c91974c7e8f77555920e137cab80b5418e992b.tar.gz wireshark-53c91974c7e8f77555920e137cab80b5418e992b.tar.bz2 wireshark-53c91974c7e8f77555920e137cab80b5418e992b.zip |
kismet: use cast in ws_strtou.
Fix the warning:
packet-kismet.c: In function 'dissect_kismet':
packet-kismet.c:242:58: error: passing argument 3 of 'ws_strtou64' from incompatible pointer type [-Werror]
if (ws_strtou64(format_text(line, tokenlen), NULL, &t.secs)) {
^
In file included from packet-kismet.c:34:0:
../../wsutil/strtoi.h:49:24: note: expected 'guint64 *' but argument is of type 'time_t *'
WS_DLL_PUBLIC gboolean ws_strtou64(const gchar* str, const gchar** endptr, guint64* cint);
Change-Id: Ifd31de22db22f39f78359cc9432eb7da187f73a6
Reviewed-on: https://code.wireshark.org/review/17990
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Uli Heilmeier <openid@heilmeier.eu>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'ws_diag_control.h')
0 files changed, 0 insertions, 0 deletions