2011-06-01 02:19:04 +02:00
|
|
|
--- src/dialogs/fl_digi.cxx.orig 2011-05-28 14:08:32.000000000 -0400
|
|
|
|
+++ src/dialogs/fl_digi.cxx 2011-05-29 18:51:27.000000000 -0400
|
2011-04-23 01:51:33 +02:00
|
|
|
@@ -26,6 +26,7 @@
|
2009-08-25 21:02:44 +02:00
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
+#include <time.h>
|
|
|
|
|
2010-11-30 02:58:38 +01:00
|
|
|
#ifdef __WOE32__
|
|
|
|
# ifdef __CYGWIN__
|
2011-06-01 02:19:04 +02:00
|
|
|
@@ -1866,7 +1867,7 @@
|
2009-08-25 21:02:44 +02:00
|
|
|
Fl::repeat_timeout(st, ztimer);
|
|
|
|
|
|
|
|
struct tm tm;
|
|
|
|
- gmtime_r(&tv.tv_sec, &tm);
|
|
|
|
+ gmtime_r((const time_t *)&tv.tv_sec, &tm);
|
|
|
|
if (!strftime(ztbuf, sizeof(ztbuf), "%Y%m%d %H%M", &tm))
|
|
|
|
memset(ztbuf, 0, sizeof(ztbuf));
|
|
|
|
else
|