aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-umts_fp.c
diff options
context:
space:
mode:
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2007-03-21 17:14:33 +0000
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>2007-03-21 17:14:33 +0000
commit12b4d1ce000d753715dccdb6656a1ec1f1566d45 (patch)
tree42ac1045c5cc0b91cc7da553c5430af01128449b /epan/dissectors/packet-umts_fp.c
parent61b197cc943ae447fc65c13e24bd52f8bcfb3e00 (diff)
Try to squash a warning seen on win32 buildbot.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21092 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r--epan/dissectors/packet-umts_fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c
index 1163e79041..23713609aa 100644
--- a/epan/dissectors/packet-umts_fp.c
+++ b/epan/dissectors/packet-umts_fp.c
@@ -1488,7 +1488,7 @@ void dissect_dch_ul_synchronisation(proto_tree *tree, packet_info *pinfo, tvbuff
void dissect_dch_outer_loop_power_control(proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb, int offset)
{
/* SIR target */
- float target = -8.2 + (0.1 * (float)(int)(tvb_get_guint8(tvb, offset)));
+ float target = (float)-8.2 + ((float)0.1 * (float)(int)(tvb_get_guint8(tvb, offset)));
proto_tree_add_float(tree, hf_fp_ul_sir_target, tvb, offset, 1, target);
if (check_col(pinfo->cinfo, COL_INFO))