diff options
Diffstat (limited to '')
-rw-r--r-- | ui/qt/firewall_rules_dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/firewall_rules_dialog.cpp b/ui/qt/firewall_rules_dialog.cpp index a74355e1..e36e4235 100644 --- a/ui/qt/firewall_rules_dialog.cpp +++ b/ui/qt/firewall_rules_dialog.cpp @@ -127,15 +127,15 @@ void FirewallRulesDialog::updateWidgets() } #define ADDR_BUF_LEN 200 -void FirewallRulesDialog::addRule(QString description, syntax_func rule_func, address *addr, guint32 port) +void FirewallRulesDialog::addRule(QString description, syntax_func rule_func, address *addr, uint32_t port) { if (!rule_func) return; char addr_buf[ADDR_BUF_LEN]; QString comment_pfx = firewall_product_comment_prefix(prod_); GString *rule_str = g_string_new(""); - gboolean inbound = ui->inboundCheckBox->isChecked(); - gboolean deny = ui->denyCheckBox->isChecked(); + bool inbound = ui->inboundCheckBox->isChecked(); + bool deny = ui->denyCheckBox->isChecked(); address_to_str_buf(addr, addr_buf, ADDR_BUF_LEN); rule_func(rule_str, addr_buf, port, ptype_, inbound, deny); |