[dpdk-dev] [PATCH v3 05/24] lib/librte_eal: explicit cast for signed change

Thomas Monjalon thomas at monjalon.net
Sun May 13 22:40:35 CEST 2018


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 at dpdk.org

> Signed-off-by: Andy Green <andy at warmcat.com>

Applied, thanks




More information about the dev mailing list