Re: [PATCH 5/6] Cygwin: Fix warnings about narrowing conversions of socket ioctls

2024-08-05 Thread Corinna Vinschen
On Aug 4 22:48, Jon Turney wrote: > Fix gcc 12 warnings about narrowing conversions of socket ioctl constants > when used as case labels, e.g: > > > ../../../../src/winsup/cygwin/net.cc: In function ‘int get_ifconf(ifconf*, > > int)’: > > ../../../../src/winsup/cygwin/net.cc:1940:18: error:

[PATCH 5/6] Cygwin: Fix warnings about narrowing conversions of socket ioctls

2024-08-04 Thread Jon Turney
Fix gcc 12 warnings about narrowing conversions of socket ioctl constants when used as case labels, e.g: > ../../../../src/winsup/cygwin/net.cc: In function ‘int get_ifconf(ifconf*, > int)’: > ../../../../src/winsup/cygwin/net.cc:1940:18: error: narrowing conversion of > ‘2152756069’ from ‘long