aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-juniper.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-02-01 00:51:42 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-02-01 00:51:42 +0000
commit89ee9a7290103304cc780a31a6712d7fa94496e3 (patch)
treec4a3986c7f9843c7e92d2d52f25c36a560f9c6bf /epan/dissectors/packet-juniper.c
parenta5ac048f4b7bfe8bab263b9dd3ee82067e374f68 (diff)
removed MSVC warnings:
packet-juniper.c(262) : warning C4761: integral size mismatch in argument; conversion supplied packet-juniper.c(289) : warning C4761: integral size mismatch in argument; conversion supplied svn path=/trunk/; revision=13220
Diffstat (limited to 'epan/dissectors/packet-juniper.c')
-rw-r--r--epan/dissectors/packet-juniper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-juniper.c b/epan/dissectors/packet-juniper.c
index bec8a2c9c6..a159304aff 100644
--- a/epan/dissectors/packet-juniper.c
+++ b/epan/dissectors/packet-juniper.c
@@ -258,7 +258,7 @@ dissect_juniper_atm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16
proto = tvb_get_ntohs(tvb, offset); /* second try: 16-Bit guess */
- if ( ppp_heuristic_guess(proto) &&
+ if ( ppp_heuristic_guess( (guint16) proto) &&
atm_pictype != JUNIPER_ATM1) {
/*
* This begins with something that appears to be a PPP protocol
@@ -286,7 +286,7 @@ dissect_juniper_atm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16
return;
}
- ipvers = ip_heuristic_guess(proto);
+ ipvers = ip_heuristic_guess( (guint8) proto);
if (ipvers != 0) { /* last resort: VC-MUX encaps ? */
/*
* This begins with something that might be the first byte of