RE: [PATCH v2 2/2] lib/hash: avoid implicit conversion to 64 bit number

2025-01-27 Thread Morten Brørup
> From: Andre Muezerie [mailto:andre...@linux.microsoft.com] > Sent: Monday, 27 January 2025 17.04 > > MSVC issues the warnings below: > > 1) ../lib/hash/rte_thash_gf2_poly_math.c(128): warning C4334: '<<': > result of 32-bit shift implicitly converted to 64 bits > (was 64-bit shift inten

[PATCH v2 2/2] lib/hash: avoid implicit conversion to 64 bit number

2025-01-27 Thread Andre Muezerie
MSVC issues the warnings below: 1) ../lib/hash/rte_thash_gf2_poly_math.c(128): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) The code would be better off by using 64 bit numbers to begin with. That eliminates the need for a conver