From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id 1E45A8DA9 for ; Mon, 17 Aug 2015 17:39:59 +0200 (CEST) Received: by wicja10 with SMTP id ja10so73561470wic.1 for ; Mon, 17 Aug 2015 08:39:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=0P4zgUk7OG88ifpeO4lwHmtkSOSqjBkkUxTjVoCBMvE=; b=Qk6/F5UIqrsDAeUMOUesT7F+xWYj40myl5De+nzicb6uJUSFzQBwhDQT/v8vH/jCIk l55qwTtABr9D7x4y6jvt8P+oAx5FbYXpAhFDjhxAVUX38PXQq90FgTpKIa6xS4ofVtfY ZbYmkT2ls47J3ZKmsKu0dgk1yCi01KS1DHGFD6UHy90so33xcllXtg1IW7wa8JhbiywX HHeG45TNumGzk1S/muUsN3hNsIrgmdemZFl/qgvNkzJtA3IiOPwgpd3E3MY8MYAbtkvI eo7s26v50dqxYYEONFBrQ8QRjY9MKzpttlcu2gP8Ouws+xjhReWaFEA5ABnlYVG5YObX E9bw== X-Gm-Message-State: ALoCoQnrDtmi6zyovEOjCRvINpFaWFn+KCCmGTuAyk1xdsWjq0//8widURwmO/Xl2XVMIuYU6VL8 X-Received: by 10.180.80.200 with SMTP id t8mr33986344wix.18.1439825998951; Mon, 17 Aug 2015 08:39:58 -0700 (PDT) Received: from xps13.localnet (183.16.90.92.rev.sfr.net. [92.90.16.183]) by smtp.gmail.com with ESMTPSA id j7sm22394411wjz.11.2015.08.17.08.39.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Aug 2015 08:39:58 -0700 (PDT) From: Thomas Monjalon To: Sergey Balabanov Date: Mon, 17 Aug 2015 17:38:44 +0200 Message-ID: <6153994.9uzA4yZQ0b@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <55D197E8.5040501@6wind.com> References: <1439370664-25728-1-git-send-email-balabanovsv@ecotelecom.ru> <55D197E8.5040501@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org 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 15:39:59 -0000 2015-08-17 10:14, Olivier MATZ: > 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 Split and applied, thanks