aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/eeprom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-sysmo/eeprom.c')
-rw-r--r--src/osmo-bts-sysmo/eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/eeprom.c b/src/osmo-bts-sysmo/eeprom.c
index e96d2197..272d41a0 100644
--- a/src/osmo-bts-sysmo/eeprom.c
+++ b/src/osmo-bts-sysmo/eeprom.c
@@ -302,7 +302,7 @@ eeprom_Error_t eeprom_ReadEthAddr( uint8_t *ethaddr )
{
int err;
- err = eeprom_read(0, 6, ethaddr);
+ err = eeprom_read(0, 6, (char *) ethaddr);
if ( err != 6 )
{
return EEPROM_ERR_DEVICE;