summaryrefslogtreecommitdiff
path: root/proto_hier_stats.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-04-21 16:57:52 +0000
committerGuy Harris <guy@alum.mit.edu>2009-04-21 16:57:52 +0000
commit54c159cb41d3d885807ce117b41cfbb444e45e5a (patch)
tree26c23c6b5773084609cd0d8ff02dfbd9cf624e1f /proto_hier_stats.c
parent85f8b0d87d42dd092ee8baaa0786d9ef8cf49080 (diff)
downloadwireshark-54c159cb41d3d885807ce117b41cfbb444e45e5a.tar.gz
Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
up (99 44/100% of which were assignments of double-precision floating-point constants to floats). Hopefully this will catch at least some P64 issues on UN*X. svn path=/trunk/; revision=28108
Diffstat (limited to 'proto_hier_stats.c')
-rw-r--r--proto_hier_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto_hier_stats.c b/proto_hier_stats.c
index 40651fc6ae..77d3534441 100644
--- a/proto_hier_stats.c
+++ b/proto_hier_stats.c
@@ -206,7 +206,7 @@ ph_stats_new(void)
/* Count of packets at which we've looked. */
count = 0;
/* Progress so far. */
- progbar_val = 0.0;
+ progbar_val = 0.0f;
stop_flag = FALSE;
g_get_current_time(&start_time);