2 Jun
2023
2 Jun
'23
6:31 a.m.
On Fri Jun 2 06:31:29 2023 +0000, Huw Davies wrote:
This seems unfortunate - what's the warning?
../wine/dlls/iphlpapi/tests/iphlpapi.c: In function ‘testGetIpNetTable’:
../wine/dlls/iphlpapi/tests/iphlpapi.c:422:24: warning: conversion from ‘long unsigned int’ to ‘DWORD’ {aka ‘unsigned int’} changes value from ‘18446744073709551615’ to ‘4294967295’ [-Woverflow]
422 | prev_idx = ~0ul;
| ^
../wine/dlls/iphlpapi/tests/iphlpapi.c:427:34: warning: comparison is always true due to limited range of data type [-Wtype-limits]
427 | if (prev_idx != ~0ul)
| ^~
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2954#note_34416