From 9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Sep 2024 06:14:33 +0200 Subject: Merging upstream version 4.4.0. Signed-off-by: Daniel Baumann --- ui/qt/firewall_rules_dialog.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ui/qt/firewall_rules_dialog.h') diff --git a/ui/qt/firewall_rules_dialog.h b/ui/qt/firewall_rules_dialog.h index e14456f4..9d298048 100644 --- a/ui/qt/firewall_rules_dialog.h +++ b/ui/qt/firewall_rules_dialog.h @@ -20,7 +20,7 @@ class FirewallRulesDialog; class QAbstractButton; -typedef void (*syntax_func)(GString *rtxt, gchar *addr, guint32 port, port_type ptype, gboolean inbound, gboolean deny); +typedef void (*syntax_func)(GString *rtxt, char *addr, uint32_t port, port_type ptype, bool inbound, bool deny); class FirewallRulesDialog : public WiresharkDialog { @@ -50,11 +50,11 @@ private: address net_src_; address net_dst_; port_type ptype_; - guint32 src_port_; - guint32 dst_port_; + uint32_t src_port_; + uint32_t dst_port_; void updateWidgets(); - void addRule(QString description, syntax_func rule_func, address *addr, guint32 port); + void addRule(QString description, syntax_func rule_func, address *addr, uint32_t port); }; #endif // FIREWALL_RULES_DIALOG_H -- cgit v1.2.3