From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 10 Sep 2010 14:58:08 +0300 From: Johan Hedberg To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org Subject: Re: [PATCH] Fix dict_append_array to accept types other than string Message-ID: <20100910115808.GA2880@jh-x301> References: <1284119403-9367-1-git-send-email-luiz.dentz@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1284119403-9367-1-git-send-email-luiz.dentz@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Luiz, On Fri, Sep 10, 2010, Luiz Augusto von Dentz wrote: > From: Luiz Augusto von Dentz > > --- > src/dbus-common.c | 16 +++++++++++----- > 1 files changed, 11 insertions(+), 5 deletions(-) The patch is now upstream, with the following minor change that I did for you: > + const char ***str_array = (const char ***) val; Since val is void * there's no need to do the type cast (the original code didn't do it either). Johan