aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/ds1338.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/ds1338.c')
-rw-r--r--hw/timer/ds1338.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/ds1338.c b/hw/timer/ds1338.c
index 3849b74a68..03da75486b 100644
--- a/hw/timer/ds1338.c
+++ b/hw/timer/ds1338.c
@@ -117,7 +117,7 @@ static int ds1338_event(I2CSlave *i2c, enum i2c_event event)
return 0;
}
-static int ds1338_recv(I2CSlave *i2c)
+static uint8_t ds1338_recv(I2CSlave *i2c)
{
DS1338State *s = DS1338(i2c);
uint8_t res;