From 1420393b00c293ae006a1ca8c6ac364751931433 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 10 Feb 2009 20:28:29 +0000 Subject: [PATCH] Warning fix --- src/osgPlugins/cfg/ConfigParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/cfg/ConfigParser.cpp b/src/osgPlugins/cfg/ConfigParser.cpp index e4c8a92ee..001e08246 100644 --- a/src/osgPlugins/cfg/ConfigParser.cpp +++ b/src/osgPlugins/cfg/ConfigParser.cpp @@ -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" );