diff options
author | Steve Huston <shuston@riverace.com> | 1997-07-23 17:56:15 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1997-07-23 17:56:15 +0000 |
commit | d3c62d4b52d94e7ddc6d4be9ebc5db3fea97d774 (patch) | |
tree | eec07cc666fd31a889381df0f82a84d174911076 /netsvcs/clients | |
parent | 4ae5496427f2bbc8aeeb5fe9c921f55c9be05fe7 (diff) | |
download | ATCD-d3c62d4b52d94e7ddc6d4be9ebc5db3fea97d774.tar.gz |
Added 'const' to char * initialized from a string literal.
Diffstat (limited to 'netsvcs/clients')
-rw-r--r-- | netsvcs/clients/Logger/indirect_logging.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netsvcs/clients/Logger/indirect_logging.cpp b/netsvcs/clients/Logger/indirect_logging.cpp index 376e94db74e..360e3a22621 100644 --- a/netsvcs/clients/Logger/indirect_logging.cpp +++ b/netsvcs/clients/Logger/indirect_logging.cpp @@ -10,9 +10,9 @@ int main (int argc, char *argv[]) { - char *prog_name = argv[0]; + const char *prog_name = argv[0]; int iterations = argc < 2 ? 10 : ACE_OS::atoi (argv[1]); - char *logger_key = argc < 3 ? ACE_DEFAULT_RENDEZVOUS : argv[2]; + const char *logger_key = argc < 3 ? ACE_DEFAULT_RENDEZVOUS : argv[2]; ACE_OS::srand ((u_int) ACE_OS::time (0)); |