rtc: Fix printf format warning in m41t60.c
authorStefan Roese <sr@denx.de>
Thu, 10 Jul 2008 08:00:45 +0000 (10:00 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 10 Jul 2008 08:17:33 +0000 (10:17 +0200)
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/rtc/m41t60.c

index 8a32ea0748f6bf3aea682e2f44e3ba972542d8c9..ef135cab3831f399f6bf0d1e5dafb610aa452eab 100644 (file)
@@ -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;