summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);