diff options
author | Havoc Pennington <hp@redhat.com> | 2005-01-17 19:49:52 +0000 |
---|---|---|
committer | John Palmieri <johnp@remedyz.boston.redhat.com> | 2006-06-28 08:15:10 -0400 |
commit | 027a6a798941916e22956425f861cb3bf47dbacb (patch) | |
tree | 8501fa58c3770b4a30458671779640c94b39facb /qt | |
parent | 25f83411a4d10bccd63fd403ddafd67ab0c67f87 (diff) |
2005-01-17 Havoc Pennington <hp@redhat.com>
* dbus/dbus-types.h: hardcode dbus_bool_t to 32 bits
* Throughout: modify DBUS_TYPE_BOOLEAN to be a 32-bit type instead
of an 8-bit type. Now dbus_bool_t is the type to use whenever you
are marshaling/unmarshaling a boolean.
Diffstat (limited to 'qt')
-rw-r--r-- | qt/message.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/message.cpp b/qt/message.cpp index 8064ed7..256c2b2 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 ); } |