From 54c159cb41d3d885807ce117b41cfbb444e45e5a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 21 Apr 2009 16:57:52 +0000 Subject: 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 --- proto_hier_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto_hier_stats.c') 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); -- cgit v1.2.3