Re: [PATCH 2/6] Cygwin: Fix warnings about narrowing conversions of NTSTATUS constants

2024-08-05 Thread Corinna Vinschen
On Aug 4 22:48, Jon Turney wrote: > Fix warnings with gcc 12 about narrowing conversions of NTSTATUS > constants when used as case labels, e.g: > > > ../../../../src/winsup/cygwin/exceptions.cc: In static member function > > ‘static int exception::handle(EXCEPTION_RECORD*, void*, CONTEXT*, > >

[PATCH 2/6] Cygwin: Fix warnings about narrowing conversions of NTSTATUS constants

2024-08-04 Thread Jon Turney
Fix warnings with gcc 12 about narrowing conversions of NTSTATUS constants when used as case labels, e.g: > ../../../../src/winsup/cygwin/exceptions.cc: In static member function > ‘static int exception::handle(EXCEPTION_RECORD*, void*, CONTEXT*, > PDISPATCHER_CONTEXT)’: >