From 47150044cf8c3f16aa651cd7fc9284f61877926c Mon Sep 17 00:00:00 2001 From: pdurante Date: Fri, 26 Jan 2007 17:26:41 +0000 Subject: [PATCH] * Marshallers and unmarshallers for byte arrays were using the wrong D-Bus type code git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@9487 30a43799-04e7-0310-8b2b-ea0d24f86d0e --- include/dbus-c++/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dbus-c++/types.h b/include/dbus-c++/types.h index 0c2e314..5bc2b54 100644 --- a/include/dbus-c++/types.h +++ b/include/dbus-c++/types.h @@ -288,7 +288,7 @@ inline DBus::MessageIter& operator << ( DBus::MessageIter& iter, const std::vect template<> inline DBus::MessageIter& operator << ( DBus::MessageIter& iter, const std::vector& val ) { - iter.append_array('b', &val.front(), val.size()); + iter.append_array('y', &val.front(), val.size()); return iter; } @@ -444,7 +444,7 @@ inline DBus::MessageIter& operator >> ( DBus::MessageIter& iter, std::vector