Return-Path: MIME-Version: 1.0 In-Reply-To: <1337865771-11777-4-git-send-email-luiz.dentz@gmail.com> References: <1337865771-11777-1-git-send-email-luiz.dentz@gmail.com> <1337865771-11777-4-git-send-email-luiz.dentz@gmail.com> From: Lucas De Marchi Date: Thu, 24 May 2012 13:50:39 -0300 Message-ID: Subject: Re: [PATCH BlueZ 4/6] audio: Fix signature type for transport Volume To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: On Thu, May 24, 2012 at 10:22 AM, Luiz Augusto von Dentz wrote: > From: Luiz Augusto von Dentz > > Signature is now uint16 instead of byte > --- > ?audio/transport.c | ? ?2 +- > ?1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/audio/transport.c b/audio/transport.c > index 4ad8608..6ed5d21 100644 > --- a/audio/transport.c > +++ b/audio/transport.c > @@ -1076,5 +1076,5 @@ void media_transport_update_volume(struct media_transport *transport, > > ? ? ? ?emit_property_changed(transport->conn, transport->path, > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?MEDIA_TRANSPORT_INTERFACE, "Volume", > - ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? DBUS_TYPE_BYTE, &transport->volume); > + ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? DBUS_TYPE_UINT16, &transport->volume); If you are changing it to uint16_t, why are you saying it's a "fix"? You should change transport->volume type together with this patch as well. Lucas De Marchi