Wireshark-commits: [Wireshark-commits] master 53c9197: kismet: use cast in ws_strtou.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=53c91974c7e8f77555920e137cab80b5418e992b
Submitter: Dario Lombardo (lomato@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
53c9197 by Dario Lombardo (lomato@xxxxxxxxx):
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@xxxxxxxxx>
Reviewed-by: Uli Heilmeier <openid@xxxxxxxxxxxx>
Reviewed-by: Dario Lombardo <lomato@xxxxxxxxx>
Actions performed:
from c5655dc Revert "LLDP: fix indent (use tab)"
adds 53c9197 kismet: use cast in ws_strtou.
Summary of changes:
epan/dissectors/packet-kismet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)