summaryrefslogtreecommitdiff
path: root/ACE/tests/Logging_Strategy_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Logging_Strategy_Test.cpp')
-rw-r--r--ACE/tests/Logging_Strategy_Test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ACE/tests/Logging_Strategy_Test.cpp b/ACE/tests/Logging_Strategy_Test.cpp
index 6b3c6a8394d..bf990348c0d 100644
--- a/ACE/tests/Logging_Strategy_Test.cpp
+++ b/ACE/tests/Logging_Strategy_Test.cpp
@@ -212,9 +212,11 @@ get_statistics (ACE_TCHAR *f_name)
ACE_TEXT (" File size (B): %d\n"),
buf.st_size));
+ time_t time = static_cast <time_t> (buf.st_mtime);
+
ACE_DEBUG ((LM_DEBUG,
ACE_TEXT (" Time modified : %s\n"),
- ACE_OS::ctime (&buf.st_mtime)));
+ ACE_OS::ctime (&time)));
}
return buf.st_mtime;