diff options
| author | Havoc Pennington <hp@redhat.com> | 2005-01-17 19:49:52 +0000 | 
|---|---|---|
| committer | Havoc Pennington <hp@redhat.com> | 2005-01-17 19:49:52 +0000 | 
| commit | 62e465339a306fa564b69935da494dad6e1b474a (patch) | |
| tree | 0c75e656937e148983dbf3ea313b0bb9efb9f6c6 /qt/message.cpp | |
| parent | 7bf62e31a3c820852271768fafc04ba95c31a19f (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/message.cpp')
| -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 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 );  }  | 
