diff options
-rw-r--r-- | testsuites/samples/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/samples/cdtest/main.cc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/samples/ChangeLog b/testsuites/samples/ChangeLog index 1da95f7fb2..6e049f5723 100644 --- a/testsuites/samples/ChangeLog +++ b/testsuites/samples/ChangeLog @@ -1,3 +1,7 @@ +2006-02-08 Joel Sherrill <joel@OARcorp.com> + + * cdtest/main.cc: Fix warnings. + 2005-11-22 Ralf Corsepius <ralf.corsepius@rtems.org> * configure.ac: Remove RTEMS_ENABLE_BARE, diff --git a/testsuites/samples/cdtest/main.cc b/testsuites/samples/cdtest/main.cc index 1705c214db..eb5bcea852 100644 --- a/testsuites/samples/cdtest/main.cc +++ b/testsuites/samples/cdtest/main.cc @@ -114,7 +114,7 @@ class RtemsException { public: - RtemsException( char *module, int ln, int err = 0 ) + RtemsException( const char *module, int ln, int err = 0 ) : error( err ), line( ln ), file( module ) { printf( "RtemsException raised=File:%s, Line:%d, Error=%X\n", @@ -130,7 +130,7 @@ public: private: int error; int line; - char *file; + const char *file; }; |