Re: [PATCH 1/2] mempool: replace GCC pragma with cast

2024-04-01 Thread Tyler Retzlaff
On Mon, Apr 01, 2024 at 10:01:52AM -0700, Stephen Hemminger wrote: > Building mempool with MSVC generates a warning > because of this pragma (same with clang when debug is enabled). > The issue the pragma was working around can be better solved > by using an additional cast. > > Fixes: af75078fece

[PATCH 1/2] mempool: replace GCC pragma with cast

2024-04-01 Thread Stephen Hemminger
Building mempool with MSVC generates a warning because of this pragma (same with clang when debug is enabled). The issue the pragma was working around can be better solved by using an additional cast. Fixes: af75078fece3 ("first public release") Signed-off-by: Stephen Hemminger --- lib/mempool/