summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-08-29 15:00:24 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-08-29 15:00:24 +0000
commit8120f863f8f3cad025d66eae1bcd1194f314e069 (patch)
treec8e7aab0a527d3ef4ba6a661454b3daa1f810749
parente6dc2fd9a33527fd3a47edbb6baabc5d676e0361 (diff)
downloadATCD-8120f863f8f3cad025d66eae1bcd1194f314e069.tar.gz
ChangeLogTag:Fri Aug 29 07:56:19 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
-rw-r--r--ASNMP/ChangeLog7
-rw-r--r--ASNMP/tests/Octet_Test.cpp2
2 files changed, 8 insertions, 1 deletions
diff --git a/ASNMP/ChangeLog b/ASNMP/ChangeLog
index acd3ed9ba87..7f0531e80f5 100644
--- a/ASNMP/ChangeLog
+++ b/ASNMP/ChangeLog
@@ -1,3 +1,10 @@
+Fri Aug 29 07:56:19 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
+
+ * tests/Octet_Test.cpp (TestOctet):
+
+ Fixed "string literal converted to char *" warning. String
+ literals are now considered "const" by standard C++.
+
Sun Nov 24 17:04:33 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* agent/main.cpp (main): Added ACE::init() to the beginning of
diff --git a/ASNMP/tests/Octet_Test.cpp b/ASNMP/tests/Octet_Test.cpp
index 7aa032b5223..45dd9bc10b6 100644
--- a/ASNMP/tests/Octet_Test.cpp
+++ b/ASNMP/tests/Octet_Test.cpp
@@ -84,7 +84,7 @@ ACE_RCSID(tests, Octet_Test, "$Id$")
static void TestOctet()
{
- char *str = "A test of octet strings...!@@#$%^&*()_+|~{}:,./<>?";
+ const char *str = "A test of octet strings...!@@#$%^&*()_+|~{}:,./<>?";
OctetStr o1;
ACE_ASSERT(o1.valid() == 1);
ACE_ASSERT(o1.length() == 0);