aboutsummaryrefslogtreecommitdiffstats
path: root/ui/mcast_stream.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-05-16 15:49:38 -0700
committerGuy Harris <guy@alum.mit.edu>2015-05-16 22:50:15 +0000
commit08ccac87045baa15ba24e8da80275224297d24b7 (patch)
treec3194e6848bf59079e0193bbe0dd74c1dd6fa2c9 /ui/mcast_stream.h
parent1715be25b1fa6c76aeb8ca69fb9d495e93ba4ece (diff)
Do all floating-point work in double-precision.
That squelches some double -> float warnings. Change-Id: I19b8049698c7931e8c146d9532fc65ee091e4c24 Reviewed-on: https://code.wireshark.org/review/8490 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/mcast_stream.h')
-rw-r--r--ui/mcast_stream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/mcast_stream.h b/ui/mcast_stream.h
index b1f350dd6b..f3417aee73 100644
--- a/ui/mcast_stream.h
+++ b/ui/mcast_stream.h
@@ -52,7 +52,7 @@ typedef struct buffer{
gint32 buffstatus; /* buffer status */
gint32 numbuffalarms; /* number of alarms triggered by buffer underruns */
gint32 topbuffusage; /* top buffer usage in refresh interval */
- float maxbw; /* maximum bandwidth usage */
+ double maxbw; /* maximum bandwidth usage */
} t_buffer;
@@ -65,7 +65,7 @@ typedef struct _mcast_stream_info {
guint32 npackets;
guint32 apackets;
guint32 total_bytes;
- float average_bw;
+ double average_bw;
guint32 first_frame_num; /* frame number of first frame */
/* start of recording (GMT) of this stream */