aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cdtest/cdtest-foo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cdtest/cdtest-foo.cc')
-rw-r--r--ld/testsuite/ld-cdtest/cdtest-foo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-cdtest/cdtest-foo.cc b/ld/testsuite/ld-cdtest/cdtest-foo.cc
index c7d41a9..db76b02 100644
--- a/ld/testsuite/ld-cdtest/cdtest-foo.cc
+++ b/ld/testsuite/ld-cdtest/cdtest-foo.cc
@@ -38,7 +38,7 @@ Foo::Foo ()
#endif
}
-Foo::Foo (char* msg)
+Foo::Foo (const char* msg)
{
i = ++foos;
strncpy( message, msg, len);