diff --git a/Monitor.c b/Monitor.c index f19c2e5..6df80f9 100644 --- a/Monitor.c +++ b/Monitor.c @@ -33,7 +33,7 @@ struct state { char *devname; char devnm[32]; /* to sync with mdstat info */ - long utime; + unsigned int utime; int err; char *spare_group; int active, working, failed, spare, raid; diff --git a/util.c b/util.c index 970d484..6e7d3fb 100644 --- a/util.c +++ b/util.c @@ -1267,7 +1267,7 @@ struct supertype *guess_super_type(int fd, enum guess_types guess_type) */ struct superswitch *ss; struct supertype *st; - time_t besttime = 0; + unsigned int besttime = 0; int bestsuper = -1; int i;