shithub: scc

Download patch

ref: f7ca8c36a07f073bc6dcba7bd705933cd5c96ea0
parent: d89d90240080d1638ade3d650c3f83599a73613d
author: Hiltjo Posthuma <[email protected]>
date: Fri Feb 23 12:02:57 EST 2018

Make totime() time signed

--- a/ar/posix/driver.c
+++ b/ar/posix/driver.c
@@ -3,7 +3,7 @@
 #include "driver.h"
 
 time_t
-totime(unsigned long long t)
+totime(long long t)
 {
 	return t;
 }
--- 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);