summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--accessibility/dasher/files/patch-Src_DasherCore_BasicLog.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/accessibility/dasher/files/patch-Src_DasherCore_BasicLog.cpp b/accessibility/dasher/files/patch-Src_DasherCore_BasicLog.cpp
new file mode 100644
index 000000000..baf470649
--- /dev/null
+++ b/accessibility/dasher/files/patch-Src_DasherCore_BasicLog.cpp
@@ -0,0 +1,11 @@
+--- Src/DasherCore/BasicLog.cpp.orig Tue Dec 5 22:01:38 2006
++++ Src/DasherCore/BasicLog.cpp Tue Dec 5 22:02:14 2006
+@@ -87,7 +87,7 @@ std::string CBasicLog::GetDateStamp() {
+ szTimeLine = ctime(&(sTimeBuffer.time));
+ #else
+ gettimeofday(&sTimeBuffer, &sTimezoneBuffer);
+- szTimeLine = ctime(&(sTimeBuffer.tv_sec));
++ szTimeLine = ctime((const time_t *)&(sTimeBuffer.tv_sec));
+ #endif
+
+ return std::string(szTimeLine).substr(0, 24);