aboutsummaryrefslogtreecommitdiffstats
path: root/src/timers.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-09-08 22:52:29 +0000
committerlloyd <[email protected]>2006-09-08 22:52:29 +0000
commit2d78c024c94d43bc7395325c601eae93acad99e6 (patch)
tree33fb4d7d8d2e2162d58ef4c2913bca62ef396078 /src/timers.cpp
parent85e5003e112c63d78d984eb8c7c3e915505f4f58 (diff)
Add a couple of static_casts to make it clear where a type conversion is
being performed. Undefined the prototype creating macro in x509stat.cpp after use. Avoid a possible type conversion in bigint_divop by storing high's top bit in a word instead of a bool.
Diffstat (limited to 'src/timers.cpp')
-rw-r--r--src/timers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timers.cpp b/src/timers.cpp
index 1bed0e51d..89324712f 100644
--- a/src/timers.cpp
+++ b/src/timers.cpp
@@ -15,7 +15,7 @@ namespace Botan {
*************************************************/
u64bit system_time()
{
- return std::time(0);
+ return static_cast<u64bit>(std::time(0));
}
u64bit system_clock()