summaryrefslogtreecommitdiff
path: root/include/kernel/lowio/gpio.h
diff options
context:
space:
mode:
authorReiko Asakura2020-09-19 16:13:58 -0400
committerReiko Asakura2020-09-19 16:13:58 -0400
commit4b52330f2df74aa1f48551973fd0d8f851123f42 (patch)
tree33d05d23766c42367d31cc15313ddb04be6c7f8b /include/kernel/lowio/gpio.h
parentAdd SceKernelForMono functions (diff)
downloadvds-libraries-4b52330f2df74aa1f48551973fd0d8f851123f42.tar.gz
Make errors signed
Diffstat (limited to 'include/kernel/lowio/gpio.h')
-rw-r--r--include/kernel/lowio/gpio.h6
1 files changed, 3 insertions, 3 deletions
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 {