From 8b474b13528ebc00beea3af73d0c27d1fc0d2acb Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 8 Feb 2006 22:27:59 +0000 Subject: 2006-02-08 Joel Sherrill * cdtest/main.cc: Fix warnings. --- testsuites/samples/cdtest/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites/samples/cdtest/main.cc') 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; }; -- cgit v1.2.3