diff options
author | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-06-18 14:15:06 +0000 |
---|---|---|
committer | elliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2008-06-18 14:15:06 +0000 |
commit | cfae016e31513eab0a9c261f47780911f6974af0 (patch) | |
tree | 0d48d1e13a374a38d96beb9e91f49c38ecca595e /TAO/orbsvcs/examples | |
parent | b26dd16954bce89a991c475ffff14e5d30ecfa88 (diff) | |
download | ATCD-cfae016e31513eab0a9c261f47780911f6974af0.tar.gz |
ChangeLogTag: Wed Jun 18 14:15:04 UTC 2008 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs/examples')
-rw-r--r-- | TAO/orbsvcs/examples/ImR/Advanced/TestClient.cpp | 2 | ||||
-rw-r--r-- | TAO/orbsvcs/examples/RtEC/Kokyu/Service.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/examples/ImR/Advanced/TestClient.cpp b/TAO/orbsvcs/examples/ImR/Advanced/TestClient.cpp index 8b1325cc13c..63a9ad16eba 100644 --- a/TAO/orbsvcs/examples/ImR/Advanced/TestClient.cpp +++ b/TAO/orbsvcs/examples/ImR/Advanced/TestClient.cpp @@ -167,7 +167,7 @@ int TestClient::svc() ACE_TString currentIOR; - ACE_OS::srand(ACE_OS::time()); + ACE_OS::srand(static_cast<u_int> (ACE_OS::time())); try { diff --git a/TAO/orbsvcs/examples/RtEC/Kokyu/Service.cpp b/TAO/orbsvcs/examples/RtEC/Kokyu/Service.cpp index 9654858f777..71e3e950311 100644 --- a/TAO/orbsvcs/examples/RtEC/Kokyu/Service.cpp +++ b/TAO/orbsvcs/examples/RtEC/Kokyu/Service.cpp @@ -32,7 +32,7 @@ namespace inline RtecScheduler::Period_t time_val_to_period (const ACE_Time_Value &tv) { //100s of nanoseconds - return (tv.sec () * 1000000 + tv.usec ())*10; + return static_cast<RtecScheduler::Period_t> (tv.sec () * 1000000 + tv.usec ())*10; } int parse_args (int argc, char *argv[]); |