mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-23 09:09:35 +08:00
Cygwin: errmap[]: reduce value size from 32 to 8 bits
Overflow would be detected at compile time. Signed-off-by: Christian Franke <christian.franke@t-online.de>
This commit is contained in:
parent
b55eed943b
commit
4f843719d3
@ -3,7 +3,7 @@
|
||||
to this new array manually on demand. */
|
||||
|
||||
/* FIXME: Some of these choices are arbitrary! */
|
||||
constexpr int errmap[] =
|
||||
constexpr uint8_t errmap[] =
|
||||
{
|
||||
0, /* ERROR_SUCCESS */
|
||||
EBADRQC, /* ERROR_INVALID_FUNCTION */
|
||||
|
Loading…
x
Reference in New Issue
Block a user