summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuangming <huangminghuang@users.noreply.github.com>2003-10-14 07:04:54 +0000
committerhuangming <huangminghuang@users.noreply.github.com>2003-10-14 07:04:54 +0000
commitf54af8c16e306ea061f3e3f7598c301eb5030053 (patch)
tree1abd7c1fa872f67a1ae8cb4170bea8e13600d37a
parentbf19d55dbf537c29125496f1448f068e6476377b (diff)
downloadATCD-f54af8c16e306ea061f3e3f7598c301eb5030053.tar.gz
*** empty log message ***
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/UUID.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/UUID.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/UUID.cpp
index cb566d1b74c..74bccf40d82 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/UUID.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/UUID.cpp
@@ -130,13 +130,13 @@ UUID::create (unsigned char *buffer)
}
// Days in years
- static ACE_UINT64 SecondsToJan1970 =
+ static ACE_UINT64 SecondsToJan1970 =
(ACE_static_cast<ACE_UINT64>(365)*(1970-1583) // Days in years
- + (1970-1583)/4 // Leap days
- - 3 // Allow for 1700, 1800, 1900 not leap years
- + 31 // Days in December 1583
- + 30 // Days in November 1583
- + 16)*60*60*24; // Days from 15th October
+ + (1970-1583)/4 // Leap days
+ - 3 // Allow for 1700, 1800, 1900 not leap years
+ + 31 // Days in December 1583
+ + 30 // Days in November 1583
+ + 16)*60*60*24; // Days from 15th October
ACE_Time_Value now = ACE_OS::gettimeofday();