diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-27 21:20:19 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-27 21:20:19 +0000 |
commit | b40a78f369a48a5ca45e1600bca0fe769ba78e8e (patch) | |
tree | 05c973615c5165bd0603939a2cd3e8512c6ed08f /epan/dissectors/packet-ospf.c | |
parent | bca79997b0edfde5f749897e91d115ba4fddd282 (diff) |
from Peter Johansson:
compilation warnings fixed
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21230 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-ospf.c')
-rw-r--r-- | epan/dissectors/packet-ospf.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/epan/dissectors/packet-ospf.c b/epan/dissectors/packet-ospf.c index f79619c13b..112e48538e 100644 --- a/epan/dissectors/packet-ospf.c +++ b/epan/dissectors/packet-ospf.c @@ -1156,27 +1156,27 @@ dissect_ospf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) case OSPF_HELLO: dissect_ospf_hello(tvb, ospf_header_length, ospf_tree, version, - ospflen - ospf_header_length); + (guint16)(ospflen - ospf_header_length)); break; case OSPF_DB_DESC: - dissect_ospf_db_desc(tvb, ospf_header_length, ospf_tree, version, - ospflen - ospf_header_length); + dissect_ospf_db_desc(tvb, (int)ospf_header_length, ospf_tree, version, + (guint16)(ospflen - ospf_header_length)); break; case OSPF_LS_REQ: - dissect_ospf_ls_req(tvb, ospf_header_length, ospf_tree, version, - ospflen - ospf_header_length); + dissect_ospf_ls_req(tvb, (int)ospf_header_length, ospf_tree, version, + (guint16)(ospflen - ospf_header_length)); break; case OSPF_LS_UPD: - dissect_ospf_ls_upd(tvb, ospf_header_length, ospf_tree, version, - ospflen - ospf_header_length); + dissect_ospf_ls_upd(tvb, (int)ospf_header_length, ospf_tree, version, + (guint16)(ospflen - ospf_header_length)); break; case OSPF_LS_ACK: - dissect_ospf_ls_ack(tvb, ospf_header_length, ospf_tree, version, - ospflen - ospf_header_length); + dissect_ospf_ls_ack(tvb, (int)ospf_header_length, ospf_tree, version, + (guint16)(ospflen - ospf_header_length)); break; default: |