diff options
-rw-r--r-- | util-linux/hwclock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c index 6b4e29bfa..379eeb253 100644 --- a/util-linux/hwclock.c +++ b/util-linux/hwclock.c | |||
@@ -43,7 +43,7 @@ static time_t read_rtc(const char **pp_rtcname, struct timeval *sys_tv, int utc) | |||
43 | while (1) { | 43 | while (1) { |
44 | rtc_read_tm(&tm_time, fd); | 44 | rtc_read_tm(&tm_time, fd); |
45 | gettimeofday(sys_tv, NULL); | 45 | gettimeofday(sys_tv, NULL); |
46 | if (before != tm_time.tm_sec) | 46 | if (before != (int)tm_time.tm_sec) |
47 | break; | 47 | break; |
48 | } | 48 | } |
49 | } | 49 | } |