Re: [dpdk-dev] [PATCH v3 23/24] rte_hash_crc.h: explicit casts for truncation

2018-05-13 Thread Thomas Monjalon
12/05/2018 04:00, Andy Green: > /projects/lagopus/src/dpdk/build/include/rte_hash_crc.h: > In function 'crc32c_sse42_u64_mimic': > /projects/lagopus/src/dpdk/build/include/rte_hash_crc.h:402:40: > warning: conversion from 'uint64_t' {aka 'long unsigned int'} > to 'uint32_t' {aka 'unsigned int'} may

[dpdk-dev] [PATCH v3 23/24] rte_hash_crc.h: explicit casts for truncation

2018-05-11 Thread Andy Green
/projects/lagopus/src/dpdk/build/include/rte_hash_crc.h: In function 'crc32c_sse42_u64_mimic': /projects/lagopus/src/dpdk/build/include/rte_hash_crc.h:402:40: warning: conversion from 'uint64_t' {aka 'long unsigned int'} to 'uint32_t' {aka 'unsigned int'} may change value [-Wconversion] init_val