From 4b52330f2df74aa1f48551973fd0d8f851123f42 Mon Sep 17 00:00:00 2001 From: Reiko Asakura Date: Sat, 19 Sep 2020 16:13:58 -0400 Subject: Make errors signed --- include/kernel/lowio/gpio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/kernel/lowio/gpio.h') diff --git a/include/kernel/lowio/gpio.h b/include/kernel/lowio/gpio.h index 49322d4..5705ddf 100644 --- a/include/kernel/lowio/gpio.h +++ b/include/kernel/lowio/gpio.h @@ -8,9 +8,9 @@ extern "C" { #endif typedef enum SceGpioErrorCode { - SCE_GPIO_ERROR_INVALID_BUS = 0x803F0100, - SCE_GPIO_ERROR_INVALID_PORT = 0x803F0101, - SCE_GPIO_ERROR_INVALID_MODE = 0x803F0102 + SCE_GPIO_ERROR_INVALID_BUS = (int)0x803F0100, + SCE_GPIO_ERROR_INVALID_PORT = (int)0x803F0101, + SCE_GPIO_ERROR_INVALID_MODE = (int)0x803F0102 } SceGpioErrorCode; typedef enum SceGpioPortMasks { -- cgit v1.2.3