summaryrefslogtreecommitdiffstats
path: root/ui/qt/service_response_time_dialog.cpp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
commitc4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch)
tree93d5c6aa93d9987680dd1adad5685e2ad698f223 /ui/qt/service_response_time_dialog.cpp
parentAdding upstream version 4.2.6. (diff)
downloadwireshark-upstream.tar.xz
wireshark-upstream.zip
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ui/qt/service_response_time_dialog.cpp')
-rw-r--r--ui/qt/service_response_time_dialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/qt/service_response_time_dialog.cpp b/ui/qt/service_response_time_dialog.cpp
index 95bd4801..31c86d58 100644
--- a/ui/qt/service_response_time_dialog.cpp
+++ b/ui/qt/service_response_time_dialog.cpp
@@ -66,7 +66,7 @@ bool register_service_response_tables(const void *, void *value, void*)
srt_init,
tpd_creator);
g_free(cfg_abbr);
- return FALSE;
+ return false;
}
enum {
@@ -205,7 +205,7 @@ ServiceResponseTimeDialog::~ServiceResponseTimeDialog()
{
if (srt_data_.srt_array) {
free_srt_table(srt_, srt_data_.srt_array);
- g_array_free(srt_data_.srt_array, TRUE);
+ g_array_free(srt_data_.srt_array, true);
}
}
@@ -259,7 +259,7 @@ void ServiceResponseTimeDialog::tapDraw(void *srtd_ptr)
void ServiceResponseTimeDialog::endRetapPackets()
{
- for (guint i = 0; i < srt_data_.srt_array->len; i++) {
+ for (unsigned i = 0; i < srt_data_.srt_array->len; i++) {
srt_stat_table *srt_table = g_array_index(srt_data_.srt_array, srt_stat_table*, i);
addSrtTable(srt_table);
}
@@ -270,9 +270,9 @@ void ServiceResponseTimeDialog::fillTree()
{
if (srt_data_.srt_array) {
free_srt_table(srt_, srt_data_.srt_array);
- g_array_free(srt_data_.srt_array, TRUE);
+ g_array_free(srt_data_.srt_array, true);
}
- srt_data_.srt_array = g_array_new(FALSE, TRUE, sizeof(srt_stat_table*));
+ srt_data_.srt_array = g_array_new(false, true, sizeof(srt_stat_table*));
srt_data_.user_data = this;
provideParameterData();