From: Stefan Roese Date: Thu, 10 Jul 2008 08:00:45 +0000 (+0200) Subject: rtc: Fix printf format warning in m41t60.c X-Git-Tag: v1.3.4-rc1~55 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=10943c9afa25694bd9999461f4e9e50ce22fff2b;p=u-boot rtc: Fix printf format warning in m41t60.c Signed-off-by: Stefan Roese --- diff --git a/drivers/rtc/m41t60.c b/drivers/rtc/m41t60.c index 8a32ea0748..ef135cab38 100644 --- a/drivers/rtc/m41t60.c +++ b/drivers/rtc/m41t60.c @@ -241,7 +241,7 @@ void rtc_reset(void) if (l <= 0x3F) { if ((data[RTC_CTRL] & 0x3F) != l) { - printf("Setting RTC calibration to 0x%02X\n", + printf("Setting RTC calibration to 0x%02lX\n", l); data[RTC_CTRL] &= 0xC0; data[RTC_CTRL] |= (uchar) l;