diff options
Diffstat (limited to 'editors/dasher/patches/patch-ac')
-rw-r--r-- | editors/dasher/patches/patch-ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/dasher/patches/patch-ac b/editors/dasher/patches/patch-ac index 23928f7ae23..de3fb4c1276 100644 --- a/editors/dasher/patches/patch-ac +++ b/editors/dasher/patches/patch-ac @@ -1,6 +1,6 @@ -$NetBSD: patch-ac,v 1.3 2007/04/18 23:19:27 wiz Exp $ +$NetBSD: patch-ac,v 1.4 2007/11/05 20:01:00 drochner Exp $ ---- Src/DasherCore/BasicLog.cpp.orig 2007-04-16 16:06:42.000000000 +0200 +--- Src/DasherCore/BasicLog.cpp.orig 2007-10-15 15:55:00.000000000 +0200 +++ Src/DasherCore/BasicLog.cpp @@ -79,6 +79,7 @@ std::string CBasicLog::GetDateStamp() { #else @@ -14,7 +14,7 @@ $NetBSD: patch-ac,v 1.3 2007/04/18 23:19:27 wiz Exp $ szTimeLine = ctime(&(sTimeBuffer.time)); #else gettimeofday(&sTimeBuffer, &sTimezoneBuffer); -- szTimeLine = ctime(&(sTimeBuffer.tv_sec)); +- szTimeLine = ctime((const time_t *)&(sTimeBuffer.tv_sec)); + help = sTimeBuffer.tv_sec; + szTimeLine = ctime(&help); #endif |