--- ./source4/torture/raw/qfileinfo.c.orig 2017-03-11 19:05:11.000000000 +0100 +++ ./source4/torture/raw/qfileinfo.c 2017-03-11 19:06:15.000000000 +0100 @@ -140,7 +140,7 @@ static int dos_nt_time_cmp(time_t t, NTTIME nt) { time_t t2 = nt_time_to_unix(nt); - if (abs(t2 - t) <= 2) return 0; + if (labs(t2 - t) <= 2) return 0; return t2 > t ? 1 : -1; }