summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2004-10-04 20:42:00 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2004-10-04 20:42:00 +0000
commita1103c10b68f8b939e2cb67f1d8b70b59c9d8df2 (patch)
tree05b82f1dec9413286a9b4f59614e4c1f53ecdbb4
parent767fa2a51b48d3cd27f4f3e53212826d10d0a24b (diff)
downloadATCD-a1103c10b68f8b939e2cb67f1d8b70b59c9d8df2.tar.gz
ChangeLogTag:Mon Oct 4 13:34:08 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
-rw-r--r--ChangeLog4
-rw-r--r--ace/OS_NS_stdlib.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7747f9ef5c9..60d89e82c5a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,10 @@ Mon Oct 4 13:34:08 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
point to one. Removed "address-of" "&" from ACE_OS::rand_r()
argument.
+ Removed "const" qualifier from "seed" variable. It must
+ actually be non-const since ACE_OS::rand_r() accepts a reference
+ to a non-const seed value.
+
Mon Oct 4 14:22:03 2004 Martin Corino <mcorino@remedy.nl>
* ace/OS_NS_stdlib.cpp:
diff --git a/ace/OS_NS_stdlib.cpp b/ace/OS_NS_stdlib.cpp
index 6c9e5bca0d8..652c32a4c38 100644
--- a/ace/OS_NS_stdlib.cpp
+++ b/ace/OS_NS_stdlib.cpp
@@ -612,7 +612,7 @@ ACE_OS::mkstemp_emulation (ACE_TCHAR * s)
static unsigned int const NUM_RETRIES = 50;
static unsigned int const NUM_CHARS = 6; // Do not change!
- ACE_RANDR_TYPE const seed =
+ ACE_RANDR_TYPE seed =
static_cast<ACE_RANDR_TYPE> (ACE_OS::gettimeofday ().msec ());
static ACE_TCHAR const MAX_VAL =