From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 0901F2EDA for ; Mon, 17 Aug 2015 10:14:42 +0200 (CEST) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZRFe2-0002Go-N6; Mon, 17 Aug 2015 10:19:53 +0200 Message-ID: <55D197E8.5040501@6wind.com> Date: Mon, 17 Aug 2015 10:14:32 +0200 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Sergey Balabanov , dev@dpdk.org References: <1439370664-25728-1-git-send-email-balabanovsv@ecotelecom.ru> In-Reply-To: <1439370664-25728-1-git-send-email-balabanovsv@ecotelecom.ru> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] mbuf & mempool: explicit typecast on function return X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2015 08:14:42 -0000 Hi Sergey, On 08/12/2015 11:11 AM, Sergey Balabanov wrote: > When DPDK is being compiled in C++ project using g++ then > 'invalid conversion from' error appears. Added explicit > typecast on function return to get rid of the error. > > Signed-off-by: Sergey Balabanov Fixes: 7755baae8378 ("mbuf: silence warning on pointer arithmetic") Fixes: 6cf14ce4ce6c ("mempool: silence warning on pointer arithmetic") Acked-by: Olivier Matz Thanks