From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 05/24] lib/librte_eal: explicit cast for signed change Date: Sun, 13 May 2018 22:40:35 +0200 Message-ID: <101754953.kYWaSfTSR7@xps> References: <152609021699.121661.5295227351721865436.stgit@localhost.localdomain> <152609034736.121661.8183957126379452765.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, stable@dpdk.org To: Andy Green Return-path: In-Reply-To: <152609034736.121661.8183957126379452765.stgit@localhost.localdomain> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 12/05/2018 03:59, Andy Green: > /projects/lagopus/src/dpdk/build/include/rte_lcore.h: > In function 'rte_lcore_index': > /projects/lagopus/src/dpdk/build/include/rte_lcore.h:122:14: > warning: conversion to 'int' from 'unsigned int' may change > the sign of the result [-Wsign-conversion] > lcore_id = rte_lcore_id(); Fixes: 5583037a7950 ("eal: get relative core index") Cc: stable@dpdk.org > Signed-off-by: Andy Green Applied, thanks