summaryrefslogtreecommitdiffstats
path: root/qt/message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt/message.cpp')
-rw-r--r--qt/message.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/message.cpp b/qt/message.cpp
index 8064ed7a..256c2b23 100644
--- a/qt/message.cpp
+++ b/qt/message.cpp
@@ -505,8 +505,8 @@ Message::message() const
Message& Message::operator<<( bool b )
{
- const unsigned char byte = b;
- dbus_message_append_args( d->msg, DBUS_TYPE_BOOLEAN, &byte,
+ const dbus_bool_t right_size_bool = b;
+ dbus_message_append_args( d->msg, DBUS_TYPE_BOOLEAN, &right_size_bool,
DBUS_TYPE_INVALID );
}