summaryrefslogtreecommitdiffstats
path: root/ui/qt/multicast_statistics_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/multicast_statistics_dialog.cpp')
-rw-r--r--ui/qt/multicast_statistics_dialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/qt/multicast_statistics_dialog.cpp b/ui/qt/multicast_statistics_dialog.cpp
index cca74783..30801647 100644
--- a/ui/qt/multicast_statistics_dialog.cpp
+++ b/ui/qt/multicast_statistics_dialog.cpp
@@ -153,9 +153,9 @@ public:
private:
address src_addr_;
- guint16 src_port_;
+ uint16_t src_port_;
address dst_addr_;
- guint16 dst_port_;
+ uint16_t dst_port_;
unsigned num_packets_;
double avg_pps_;
double avg_bw_;
@@ -414,7 +414,7 @@ void MulticastStatisticsDialog::updateMulticastParameters()
param = burst_measurement_interval_le_->text().toUInt(&ok);
if (ok && param > 0 && param <= 1000) {
- mcast_stream_burstint = (guint16) param;
+ mcast_stream_burstint = (uint16_t) param;
}
param = burst_alarm_threshold_le_->text().toInt(&ok);
@@ -456,7 +456,7 @@ void MulticastStatisticsDialog::fillTree()
void MulticastStatisticsDialog::rescan()
{
- gboolean was_registered = tapinfo_->is_registered;
+ bool was_registered = tapinfo_->is_registered;
if (!tapinfo_->is_registered)
register_tap_listener_mcast_stream(tapinfo_);