summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/i2c/i2c-2b-eeprom.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/libchip/i2c/i2c-2b-eeprom.c')
-rw-r--r--c/src/libchip/i2c/i2c-2b-eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/libchip/i2c/i2c-2b-eeprom.c b/c/src/libchip/i2c/i2c-2b-eeprom.c
index c24463f5d5..65e4d9fe3d 100644
--- a/c/src/libchip/i2c/i2c-2b-eeprom.c
+++ b/c/src/libchip/i2c/i2c-2b-eeprom.c
@@ -15,7 +15,7 @@
#include <rtems/libio.h>
#define EEPROM_PG_SZ 32
-#define ALGN(x) (((unsigned32)(x) + EEPROM_PG_SZ) & ~(EEPROM_PG_SZ-1))
+#define ALGN(x) (((uint32_t)(x) + EEPROM_PG_SZ) & ~(EEPROM_PG_SZ-1))
static rtems_status_code
send_file_ptr (rtems_device_minor_number minor, unsigned pos, int tout)