summary refs log tree commit diff
path: root/src/fmt_ptime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fmt_ptime.c')
-rw-r--r--src/fmt_ptime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt_ptime.c b/src/fmt_ptime.c
index e538b35..2ab5725 100644
--- a/src/fmt_ptime.c
+++ b/src/fmt_ptime.c
@@ -4,7 +4,7 @@
 
 unsigned int fmt_ptime2(char *s, struct taia *ta, char sep) {
   struct tm *t;
-  unsigned long u;
+  time_t u;
 
   if (ta->sec.x < 4611686018427387914ULL) return(0); /* impossible? */
   u =ta->sec.x -4611686018427387914ULL;