[dpdk-dev] [PATCH v4 14/23] rte_ether.h: explicit cast avoiding truncation warning
Bruce Richardson
bruce.richardson at intel.com
Thu May 17 13:01:17 CEST 2018
On Mon, May 14, 2018 at 01:10:37PM +0800, Andy Green wrote:
> /projects/lagopus/src/dpdk/build/include/rte_ether.h:213:13:
> warning: conversion from 'int' to 'uint8_t'
> {aka 'unsigned char'} may change value [-Wconversion]
> addr[0] &= ~ETHER_GROUP_ADDR;
> /* clear multicast bit */
>
> Signed-off-by: Andy Green <andy at warmcat.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list