diff options
Diffstat (limited to 'ui/qt/service_response_time_dialog.cpp')
-rw-r--r-- | ui/qt/service_response_time_dialog.cpp | 10 |
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(); |