commit 5a3498bb3946df112e5b0fd47018cecf0e1629e6 parent 21e726d972f0f863df67d83c78c84fab02d65150 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Fri, 23 Feb 2018 17:02:57 +0100 Make totime() time signed Diffstat:
M | ar/posix/driver.c | | | 2 | +- |
M | ar/posix/driver.h | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ar/posix/driver.c b/ar/posix/driver.c @@ -3,7 +3,7 @@ static char sccsid[] = "@(#) ./ar/posix/driver.c"; #include "driver.h" time_t -totime(unsigned long long t) +totime(long long t) { return t; } diff --git a/ar/posix/driver.h b/ar/posix/driver.h @@ -3,4 +3,4 @@ #include <sys/stat.h> #include <unistd.h> -extern time_t totime(unsigned long long t); +extern time_t totime(long long t);