projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some compiler warnings emitted by gcc-4.8.0
[oweals/busybox.git]
/
util-linux
/
hwclock.c
diff --git
a/util-linux/hwclock.c
b/util-linux/hwclock.c
index 6b4e29bfa141ba995ade371109def3c52680f8ef..379eeb25375db4dfc3f469db68864e4e9f8ad56f 100644
(file)
--- 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)
while (1) {
rtc_read_tm(&tm_time, fd);
gettimeofday(sys_tv, NULL);
- if (before != tm_time.tm_sec)
+ if (before !=
(int)
tm_time.tm_sec)
break;
}
}