PulkoMandy 32a71a00aa stdint.h: fix definition of UINT8_MAX, UINT16_MAX, UINT8_C and UINT16_C
C99 chapter 7.18.2, Limits of specified-width integer types:

"This expression shall have the same type as would an expression that is
an object of the corresponding type according to the integer promotions."

C99 chapter 6.3.1.1:

"If an int can represent all values of the original type, the value is
converted to an int; otherwise, it is converted to an unsigned int.
These are called the integer promotions."

Therefore, UINT8_MAX, UINT16_MAX, UINT8_C and UINT16_C should be signed.

This prevents building WebKit with -Werror.

Change-Id: Ib2a2c15acc2c761cccf8caa016c7ff163e3fdc0d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5806
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2022-11-08 16:11:40 +00:00
..
2020-07-03 15:30:00 -04:00
2019-08-27 17:44:57 +02:00
2020-11-20 18:23:35 +00:00
2021-10-14 16:19:18 +00:00
2021-06-19 18:09:25 +00:00
2021-09-17 15:35:51 -04:00
2022-02-18 21:27:06 +00:00
2019-08-30 18:16:02 -04:00
2020-11-17 07:53:28 +00:00