diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-09-30 14:27:45 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-09-30 21:28:18 +0000 |
commit | eaad7ee5aaffc81835bb615cb4693b1b5e22c759 (patch) | |
tree | 25245581bc4c2ba321a759832bf1e98f625fcb26 /epan/xdlc.h | |
parent | 452e78bb83410d31fd3cdb3576ddbc592fd46475 (diff) |
Fix the type of the packet data argument to get_xdlc_control().
It's a blob of bytes, so the right type is guint8 *, not guchar *.
Change-Id: I74afa95da1e14866af68f1580cfbccd55f08ed65
Reviewed-on: https://code.wireshark.org/review/29944
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/xdlc.h')
-rw-r--r-- | epan/xdlc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/xdlc.h b/epan/xdlc.h index 8438991505..4906dfa015 100644 --- a/epan/xdlc.h +++ b/epan/xdlc.h @@ -120,7 +120,7 @@ extern const value_string stype_vals[]; extern const value_string modifier_vals_cmd[]; extern const value_string modifier_vals_resp[]; -extern int get_xdlc_control(const guchar *pd, int offset, gboolean is_extended); +extern int get_xdlc_control(const guint8 *pd, int offset, gboolean is_extended); WS_DLL_PUBLIC int dissect_xdlc_control(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *xdlc_tree, int hf_xdlc_control, gint ett_xdlc_control, |