desktop: fixed type of dword eeprom read

This commit is contained in:
Andrew Tridgell 2011-12-16 13:47:37 +11:00
parent 338fb1642a
commit 6ad5df2958
1 changed files with 1 additions and 1 deletions

View File

@ -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);