aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-diameter.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-03-23 01:29:52 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-03-23 01:29:52 +0000
commit7994794ad9cddeb5c610cc32843e4d5de0e5c81a (patch)
treee71a9ea8b4ff5d1244f454616e128c9737b090ba /epan/dissectors/packet-diameter.c
parent411249419dc399c8fcf5a364a90067f864626ba1 (diff)
fix a lot more warnings
svn path=/trunk/; revision=21142
Diffstat (limited to 'epan/dissectors/packet-diameter.c')
-rw-r--r--epan/dissectors/packet-diameter.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-diameter.c b/epan/dissectors/packet-diameter.c
index 81832a1a33..a302f04f3b 100644
--- a/epan/dissectors/packet-diameter.c
+++ b/epan/dissectors/packet-diameter.c
@@ -1309,9 +1309,9 @@ dissect_diameter_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
vendorName="None";
}
/* Do the bit twiddling */
- version = DIAM_GET_VERSION(dh);
+ version = (guint8) DIAM_GET_VERSION(dh);
pktLength = DIAM_GET_LENGTH(dh);
- flags = DIAM_GET_FLAGS(dh);
+ flags = (guint8) DIAM_GET_FLAGS(dh);
commandCode = DIAM_GET_COMMAND(dh);
break;
case DIAMETER_RFC:
@@ -1332,9 +1332,9 @@ dissect_diameter_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
applicationName="None";
}
/* Do the bit twiddling */
- version = DIAM_GET_VERSION(dh2);
+ version = (guint8) DIAM_GET_VERSION(dh2);
pktLength = DIAM_GET_LENGTH(dh2);
- flags = DIAM_GET_FLAGS(dh2);
+ flags = (guint8) DIAM_GET_FLAGS(dh2);
commandCode = DIAM_GET_COMMAND(dh2);
break;
}