diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-23 00:51:21 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-03-23 00:51:21 +0000 |
commit | 23265ea379ebffdf650e44cbb0cee5856777d24f (patch) | |
tree | 23c9ef4abb163a722dd20f5f081c3611e8569b48 /epan/dissectors/packet-tipc.c | |
parent | 9e6adb9effe7feb4857ba1164b4d892d5f7dc06b (diff) |
fix some more warnings (type casts)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21141 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-tipc.c')
-rw-r--r-- | epan/dissectors/packet-tipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-tipc.c b/epan/dissectors/packet-tipc.c index 2c93a99097..5a8e4e1485 100644 --- a/epan/dissectors/packet-tipc.c +++ b/epan/dissectors/packet-tipc.c @@ -1254,7 +1254,7 @@ dissect_tipc_v2(tvbuff_t *tipc_tvb, proto_tree *tipc_tree, int offset, guint8 us offset = offset + (opt_p << 2); } /* TIPCv2 data */ - if ( msg_size > (orig_hdr_size<<2)) + if ( msg_size > (guint8) (orig_hdr_size<<2)) proto_tree_add_text(tipc_tree, tipc_tvb, offset, -1,"TIPCv2 data: %u bytes", (msg_size - (orig_hdr_size<<2))); } |