aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-12-18 00:28:39 +0000
committerGuy Harris <guy@alum.mit.edu>2003-12-18 00:28:39 +0000
commit40789b01104936925d3291676ce9773b65b79442 (patch)
tree0e8a6eb6f1f00c475abee5db0ddc16f6162cdf0d
parentcc500abd2178f3e5dc4164f0d44b3190e99f3d58 (diff)
Make "ctlfn" a "guint8", as it holds a single-byte value.
svn path=/trunk/; revision=9337
-rw-r--r--packet-fcsb3.c6
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: