aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/tmp421.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/tmp421.c')
-rw-r--r--hw/misc/tmp421.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/tmp421.c b/hw/misc/tmp421.c
index eeb11000f0..ce6d40ac9c 100644
--- a/hw/misc/tmp421.c
+++ b/hw/misc/tmp421.c
@@ -249,7 +249,7 @@ static void tmp421_write(TMP421State *s)
}
}
-static int tmp421_rx(I2CSlave *i2c)
+static uint8_t tmp421_rx(I2CSlave *i2c)
{
TMP421State *s = TMP421(i2c);