[rtems commit] dev/i2c: Fix integer type
Sebastian Huber
sebh at rtems.org
Tue Aug 22 14:51:12 UTC 2017
Module: rtems
Branch: master
Commit: e062741da604811cbf0a1e5e73a0775daf155e82
Changeset: http://git.rtems.org/rtems/commit/?id=e062741da604811cbf0a1e5e73a0775daf155e82
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Aug 22 14:17:53 2017 +0200
dev/i2c: Fix integer type
Update #3082.
---
cpukit/dev/i2c/xilinx-axi-i2c.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/dev/i2c/xilinx-axi-i2c.c b/cpukit/dev/i2c/xilinx-axi-i2c.c
index 0248958..45a1c90 100644
--- a/cpukit/dev/i2c/xilinx-axi-i2c.c
+++ b/cpukit/dev/i2c/xilinx-axi-i2c.c
@@ -99,7 +99,7 @@
typedef struct {
i2c_bus base;
- uint32_t regs;
+ uintptr_t regs;
i2c_msg* msgs;
uint32_t msgs_remaining;
i2c_msg* current_msg;
More information about the vc
mailing list