From 6ad5df29584003f8bef611d735fdc175afa0f4f9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 16 Dec 2011 13:47:37 +1100 Subject: [PATCH] desktop: fixed type of dword eeprom read --- libraries/Desktop/support/eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/Desktop/support/eeprom.c b/libraries/Desktop/support/eeprom.c index c6c8b11b81..35f4e658aa 100644 --- a/libraries/Desktop/support/eeprom.c +++ b/libraries/Desktop/support/eeprom.c @@ -32,7 +32,7 @@ void eeprom_write_word(uint16_t *p, uint16_t value) pwrite(eeprom_fd, &value, 2, ofs); } -void eeprom_write_dword(uint16_t *p, uint32_t value) +void eeprom_write_dword(uint32_t *p, uint32_t value) { intptr_t ofs = (intptr_t)p; assert(ofs < 4096);