1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Origin: upstream, ac96f5555247c7a735daed1a8e1b4fa18560ab52
From: Denis Bychkov <manover@gmail.com>
Date: Fri, 22 May 2015 00:14:55 -0400
Bug-Debian: https://bugs.debian.org/1091251
Subject: Fix segfault of the architectures where sizeof(long) != sizeof(time_t)
---
diff --git a/ddate.c b/ddate.c
index 4c2a0f8..c0a6bf3 100644
--- a/ddate.c
+++ b/ddate.c
@@ -183,7 +183,7 @@ struct disc_time makeday(int,int,int);
int
main (int argc, char *argv[]) {
- long t;
+ time_t t;
struct tm *eris;
int bob,raw;
struct disc_time hastur;
|