summaryrefslogtreecommitdiff
path: root/include/kernel/lowio/i2c.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/i2c.h
parentAdd SceKernelForMono functions (diff)
downloadvds-libraries-4b52330f2df74aa1f48551973fd0d8f851123f42.tar.gz
Make errors signed
Diffstat (limited to 'include/kernel/lowio/i2c.h')
-rw-r--r--include/kernel/lowio/i2c.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/kernel/lowio/i2c.h b/include/kernel/lowio/i2c.h
index 961f1df..4ca3178 100644
--- a/include/kernel/lowio/i2c.h
+++ b/include/kernel/lowio/i2c.h
@@ -8,9 +8,9 @@ extern "C" {
#endif
typedef enum SceI2cErrorCode {
- SCE_I2C_ERROR_INVALID_BUS = 0x803F0300,
- SCE_I2C_ERROR_INVALID_SIZE = 0x803F0302,
- SCE_I2C_ERROR_INVALID_ADDR = 0x803F0303
+ SCE_I2C_ERROR_INVALID_BUS = (int)0x803F0300,
+ SCE_I2C_ERROR_INVALID_SIZE = (int)0x803F0302,
+ SCE_I2C_ERROR_INVALID_ADDR = (int)0x803F0303
} SceI2cErrorCode;
typedef struct SceI2cDebugHandlers {