lib: int8_t set to `signed char` instead of `char`

`char` signedness is not defined by C standard. In some architectures
it's `unsigned` by default (RISC-V), so it's better to be explicit to
avoid problems.

* include/stdint.h(int8_t): Use `signed char` instead of `char`.
This commit is contained in:
Ekaitz 2023-10-13 21:31:20 +02:00
parent 925db84523
commit 4dcedfdb8e
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@
#undef ptrdiff_t
typedef unsigned char uint8_t;
typedef char int8_t;
typedef signed char int8_t;
typedef unsigned short uint16_t;
typedef short int16_t;
typedef unsigned uint32_t;