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:
Benedikt Freisen
2025-11-14 21:38:36 +01:00
committed by Anup Patel
parent 51fe6a8bc9
commit d65c1e95a7

View File

@@ -14,7 +14,7 @@
/* clang-format off */
typedef char s8;
typedef signed char s8;
typedef unsigned char u8;
typedef unsigned char uint8_t;