diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-12-18 00:28:39 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-12-18 00:28:39 +0000 |
commit | 0ebaf2d0eba55423aec8ea218a46e5ad66e4e336 (patch) | |
tree | 0e8a6eb6f1f00c475abee5db0ddc16f6162cdf0d /packet-fcsb3.c | |
parent | e8db9ff13f48124291072ee6f4d171f37893e969 (diff) |
Make "ctlfn" a "guint8", as it holds a single-byte value.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9337 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-fcsb3.c')
-rw-r--r-- | packet-fcsb3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-fcsb3.c b/packet-fcsb3.c index fe407b6754..0afb728c0c 100644 --- a/packet-fcsb3.c +++ b/packet-fcsb3.c @@ -3,7 +3,7 @@ * This decoder is for FC-SB3 version 1.4 * Copyright 2003, Dinesh G Dutt <ddutt@cisco.com> * - * $Id: packet-fcsb3.c,v 1.2 2003/12/17 23:35:28 ulfl Exp $ + * $Id: packet-fcsb3.c,v 1.3 2003/12/18 00:28:39 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -622,7 +622,7 @@ static void dissect_fc_sbccs_dib_status_hdr (tvbuff_t *tvb, packet_info *pinfo, static void dissect_fc_sbccs_dib_ctl_hdr (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint offset) { - guint32 ctlfn; + guint8 ctlfn; gchar buffer[128]; ctlfn = tvb_get_guint8 (tvb, offset); @@ -644,7 +644,7 @@ static void dissect_fc_sbccs_dib_ctl_hdr (tvbuff_t *tvb, packet_info *pinfo, tvb_get_ntoh24 (tvb, offset+1), "Control Parameter: 0x%x(%s)", tvb_get_ntoh24 (tvb, offset+1), - get_sel_rst_param_string ((guint8) ctlfn, + get_sel_rst_param_string (ctlfn, buffer)); break; case FC_SBCCS_CTL_FN_DEV_XCP: |