summaryrefslogtreecommitdiff
path: root/include/kernel/lowio/i2c.h
diff options
context:
space:
mode:
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 {