summaryrefslogtreecommitdiffstats
path: root/ui/qt/manuf_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/manuf_dialog.cpp')
-rw-r--r--ui/qt/manuf_dialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/manuf_dialog.cpp b/ui/qt/manuf_dialog.cpp
index 0c383af3..d7ed9192 100644
--- a/ui/qt/manuf_dialog.cpp
+++ b/ui/qt/manuf_dialog.cpp
@@ -102,9 +102,9 @@ static QByteArray convertMacAddressToByteArray(const QString &bytesString)
{
GByteArray *bytes = g_byte_array_new();
- if (!hex_str_to_bytes(qUtf8Printable(bytesString), bytes, FALSE)
+ if (!hex_str_to_bytes(qUtf8Printable(bytesString), bytes, false)
|| bytes->len == 0 || bytes->len > 6) {
- g_byte_array_free(bytes, TRUE);
+ g_byte_array_free(bytes, true);
return QByteArray();
}