]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Fix some type comparison problems
authorXiao Ni <xni@redhat.com>
Sat, 6 Feb 2016 01:18:41 +0000 (09:18 +0800)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 8 Feb 2016 15:49:22 +0000 (10:49 -0500)
commit1d13b599607e48446273913ce594931ba53df9fd
tree29be686004bbbd18945a11846fb8d090b9749dd2
parent27c7c87a6877a576cce02a667745ed4c12a60e22
Fix some type comparison problems

As 26714713cd2bad9e0bf7f4669f6cc4659ceaab6c said, 32 bit signed
timestamps will overflow in the year 2038. It already changed the
utime and ctime in struct mdu_array_info_s from int to unsigned
int. So we need to change the values that compared with them to
unsigned int too.

Signed-off-by : Xiao Ni <xni@redhat.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Monitor.c
util.c