summaryrefslogtreecommitdiff
path: root/ace/ARGV.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2005-02-15 23:07:37 +0000
committerSteve Huston <shuston@riverace.com>2005-02-15 23:07:37 +0000
commit34104cf059eeafbd1382ac7f9315e0c9a4afac2e (patch)
tree929cad045679537bffe42e0311c7d1ac90539359 /ace/ARGV.cpp
parent2cf1b9573c6f58e31ad17124620d11875cf8dab9 (diff)
downloadATCD-PROACTOR_FIXES_STEVE_JAN05.tar.gz
Commit merged-in changes from mainlinePROACTOR_FIXES_STEVE_JAN05
Diffstat (limited to 'ace/ARGV.cpp')
-rw-r--r--ace/ARGV.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/ARGV.cpp b/ace/ARGV.cpp
index 7e7b323fbdc..8109c3c215c 100644
--- a/ace/ARGV.cpp
+++ b/ace/ARGV.cpp
@@ -183,7 +183,7 @@ ACE_ARGV::add (const ACE_TCHAR *next_arg)
}
// Put the new argument at the end of the queue.
- if (this->queue_.enqueue_tail ((ACE_TCHAR *) next_arg) == -1)
+ if (this->queue_.enqueue_tail (const_cast <ACE_TCHAR *> (next_arg)) == -1)
ACE_ERROR_RETURN ((LM_ERROR,
ACE_LIB_TEXT ("Can't add more to ARGV queue")),
-1);