diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-01-05 19:31:44 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-01-05 19:31:44 +0000 |
commit | 0d9679de8dd6536bf1d0c9664489f4c35b1e6270 (patch) | |
tree | 4bbb164018cdeecf66dacbbe39d03b005ddbcfa2 /plugins/artnet | |
parent | ba3b94790d2d639559ef75632d0e92a9d040f0d7 (diff) |
removed some MSVC warnings (level 3)
svn path=/trunk/; revision=9561
Diffstat (limited to 'plugins/artnet')
-rw-r--r-- | plugins/artnet/packet-artnet.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/artnet/packet-artnet.c b/plugins/artnet/packet-artnet.c index ec4fcdf223..cde3cd8bd2 100644 --- a/plugins/artnet/packet-artnet.c +++ b/plugins/artnet/packet-artnet.c @@ -1,7 +1,7 @@ /* packet-artnet.c * Routines for Art-Net packet disassembly * - * $Id: packet-artnet.c,v 1.5 2003/11/17 20:57:11 guy Exp $ + * $Id: packet-artnet.c,v 1.6 2004/01/05 19:28:54 ulfl Exp $ * * Copyright (c) 2003 by Erwin Rol <erwin@erwinrol.com> * @@ -997,22 +997,22 @@ dissect_artnet_video_data(tvbuff_t *tvb, guint offset, proto_tree *tree) { offset, 2, FALSE); offset += 2; - pos_x = tvb_get_ntohs(tvb, offset); + pos_x = (guint8) tvb_get_ntohs(tvb, offset); proto_tree_add_uint(tree, hf_artnet_video_data_pos_x, tvb, offset, 1, pos_x); offset += 1; - pos_y = tvb_get_ntohs(tvb, offset); + pos_y = (guint8) tvb_get_ntohs(tvb, offset); proto_tree_add_uint(tree, hf_artnet_video_data_pos_y, tvb, offset, 1, pos_y); offset += 1; - len_x = tvb_get_ntohs(tvb, offset); + len_x = (guint8) tvb_get_ntohs(tvb, offset); proto_tree_add_uint(tree, hf_artnet_video_data_len_x, tvb, offset, 1, len_x); offset += 1; - len_y = tvb_get_ntohs(tvb, offset); + len_y = (guint8) tvb_get_ntohs(tvb, offset); proto_tree_add_uint(tree, hf_artnet_video_data_len_y, tvb, offset, 1, len_y); offset += 1; |