aports/community/picat/use-time_t.patch

12 lines
220 B
Diff

--- a/cpreds.c
+++ b/cpreds.c
@@ -900,7 +900,7 @@
#if (defined(WIN32) && defined(__MINGW32__))
BPLONG t;
#else
- long t;
+ time_t t;
#endif
struct tm *ct;
BPLONG Year, Month, Day, Hour, Min, Sec;