Merged warning fix from OSG-2.8 branch:

svn merge -r 9755:9756 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8
This commit is contained in:
Robert Osfield
2009-02-10 20:31:50 +00:00
parent 92b4e6ea54
commit 81043b1028
2 changed files with 2 additions and 2 deletions

View File

@@ -2261,7 +2261,7 @@ bool CameraConfig::parseFile( const std::string &file )
execlp( cpp_path, "cpp", "-P", 0L );
else
*/
execlp( cpp_path, "cpp", "-P", fileName.c_str(), NULL );
execlp( cpp_path, "cpp", "-P", fileName.c_str(), (char *)NULL );
// This should not execute unless an error happens
perror( "execlp" );