mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-12-16 12:11:32 +00:00
include: sbi: Make "s8" actually signed.
Since plain "char" is implicitly unsigned on RISC-V, "s8" should be an alias for "signed char". Signed-off-by: Benedikt Freisen <b.freisen@gmx.net> Reviewed-by: Radim Krčmář <rkrcmar@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20251114203842.13396-2-b.freisen@gmx.net Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
committed by
Anup Patel
parent
51fe6a8bc9
commit
d65c1e95a7
@@ -14,7 +14,7 @@
|
||||
|
||||
/* clang-format off */
|
||||
|
||||
typedef char s8;
|
||||
typedef signed char s8;
|
||||
typedef unsigned char u8;
|
||||
typedef unsigned char uint8_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user