diff options
Diffstat (limited to 'accessibility/dasher/files/patch-Src_DasherCore_UserLog.cpp')
-rw-r--r-- | accessibility/dasher/files/patch-Src_DasherCore_UserLog.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/accessibility/dasher/files/patch-Src_DasherCore_UserLog.cpp b/accessibility/dasher/files/patch-Src_DasherCore_UserLog.cpp new file mode 100644 index 000000000..663e5426e --- /dev/null +++ b/accessibility/dasher/files/patch-Src_DasherCore_UserLog.cpp @@ -0,0 +1,20 @@ +--- Src/DasherCore/UserLog.cpp.orig Fri Apr 21 17:41:02 2006 ++++ Src/DasherCore/UserLog.cpp Sun Jun 11 10:43:33 2006 +@@ -668,7 +668,7 @@ + szTimeLine = ctime(&(sTimeBuffer.time)); + #else + gettimeofday(&sTimeBuffer, &sTimezoneBuffer); +- szTimeLine = ctime(&(sTimeBuffer.tv_sec)); ++ szTimeLine = ctime((const time_t *)&(sTimeBuffer.tv_sec)); + #endif + + if ((szTimeLine != NULL) && (strlen(szTimeLine) > 18)) +@@ -881,7 +881,7 @@ + double dTime = (sTimeBuffer.time * 1000.0) + sTimeBuffer.millitm; + #else + gettimeofday(&sTimeBuffer, &sTimezoneBuffer); +- double dTime = (sTimeBuffer.tv_sec * 1000.0) + sTimeBuffer.tv_usec / 1000; ++ double dTime = (sTimeBuffer.tv_sec * 1000.0) + (int) (sTimeBuffer.tv_usec / 1000); + #endif + + |