summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/cdtest/main.cc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-02-08 22:27:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-02-08 22:27:59 +0000
commit8b474b13528ebc00beea3af73d0c27d1fc0d2acb (patch)
treecc528b38d97633e76376ee6b3e24db917fe604c0 /testsuites/samples/cdtest/main.cc
parent2006-02-08 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-8b474b13528ebc00beea3af73d0c27d1fc0d2acb.tar.bz2
2006-02-08 Joel Sherrill <joel@OARcorp.com>
* cdtest/main.cc: Fix warnings.
Diffstat (limited to 'testsuites/samples/cdtest/main.cc')
-rw-r--r--testsuites/samples/cdtest/main.cc4
1 files changed, 2 insertions, 2 deletions
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;
};