From cb5fb828d0013f6d16328bb7a6efc60cd95993ce Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 26 Aug 2007 10:27:31 +0000 Subject: [PATCH] From Jan Ciger, warning fixes --- examples/osglauncher/osglauncher.cpp | 2 +- src/osg/Array.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osglauncher/osglauncher.cpp b/examples/osglauncher/osglauncher.cpp index b45d7df6d..d3c23902b 100644 --- a/examples/osglauncher/osglauncher.cpp +++ b/examples/osglauncher/osglauncher.cpp @@ -237,7 +237,7 @@ int runApp(std::string xapp) } // end printList() -void readConfFile(char* confFile) // read confFile 1 +void readConfFile(const char* confFile) // read confFile 1 { osg::notify(osg::INFO) << "Start reading confFile" << std::endl; diff --git a/src/osg/Array.cpp b/src/osg/Array.cpp index 9db0fada7..5b157678e 100644 --- a/src/osg/Array.cpp +++ b/src/osg/Array.cpp @@ -14,7 +14,7 @@ using namespace osg; -static char* s_ArrayNames[] = +static const char* s_ArrayNames[] = { "Array", // 0 "ByteArray", // 1