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-vnc.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-vnc.c')
-rw-r--r-- | epan/dissectors/packet-vnc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-vnc.c b/epan/dissectors/packet-vnc.c index 8abd9e7864..f49c0fc858 100644 --- a/epan/dissectors/packet-vnc.c +++ b/epan/dissectors/packet-vnc.c @@ -1453,7 +1453,7 @@ vnc_cursor_encoding(tvbuff_t *tvb, packet_info *pinfo, gint *offset, length, FALSE); *offset += length; - length = floor((width + 7)/8) * height; + length = (guint) (floor((width + 7)/8) * height); proto_tree_add_item(tree, hf_vnc_cursor_encoding_bitmask, tvb, *offset, length, FALSE); *offset += length; |