From: frohlich Date: Sun, 1 Mar 2009 16:09:45 +0000 (+0000) Subject: Zap compiler warning. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ff2e5d5999d36ee541677cb2b50fa7316dc1387c;p=flightgear.git Zap compiler warning. Modified Files: src/Main/options.cxx --- diff --git a/src/Main/options.cxx b/src/Main/options.cxx index d1a03dc7c..3c09df562 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -107,7 +107,7 @@ void fgSetDefaults () { // set a possibly independent location for scenery data - char *envp = ::getenv( "FG_SCENERY" ); + const char *envp = ::getenv( "FG_SCENERY" ); if ( envp != NULL ) { // fg_root could be anywhere, so default to environmental