From a06eb01e1dc1718ab5e65f06c675a1df497ecaac Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 8 Feb 2006 22:28:48 +0000 Subject: 2006-02-08 Joel Sherrill * rtems++/Task1.cc: Fix warnings. --- testsuites/libtests/ChangeLog | 4 ++++ testsuites/libtests/rtems++/Task1.cc | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'testsuites') diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog index c95e9ad413..e67a199f0a 100644 --- a/testsuites/libtests/ChangeLog +++ b/testsuites/libtests/ChangeLog @@ -1,3 +1,7 @@ +2006-02-08 Joel Sherrill + + * rtems++/Task1.cc: Fix warnings. + 2005-11-22 Ralf Corsepius * configure.ac: Remove RTEMS_ENABLE_BARE, diff --git a/testsuites/libtests/rtems++/Task1.cc b/testsuites/libtests/rtems++/Task1.cc index 35c8ec34ea..fae059bf4c 100644 --- a/testsuites/libtests/rtems++/Task1.cc +++ b/testsuites/libtests/rtems++/Task1.cc @@ -499,8 +499,8 @@ void Task1::screen6(void) rtemsMessageQueue mq_2("MQ2", 4, 50); printf("%s\n", mq_2.last_status_string()); - char *u1 = "normal send"; - char *u2 = "urgent send"; + const char *u1 = "normal send"; + const char *u2 = "urgent send"; char in[100]; uint32_t size; @@ -572,7 +572,7 @@ void Task1::screen6(void) wake_after(3000000); - char *b1 = "broadcast message"; + const char *b1 = "broadcast message"; uint32_t count; printf("%s - broadcast send b1 ...\n", name_string()); @@ -628,7 +628,7 @@ void Task1::screen6(void) // start these after getting the broadcast message wake_after(7000000); - char *f1 = "flush message"; + const char *f1 = "flush message"; printf("%s - send f1 to mq_2 - ", name_string()); mq_2.send(f1, strlen(f1) + 1); -- cgit v1.2.3