]> git.mxchange.org Git - flightgear.git/commitdiff
Zap compiler warning.
authorfrohlich <frohlich>
Sun, 1 Mar 2009 16:09:45 +0000 (16:09 +0000)
committerTim Moore <timoore@redhat.com>
Thu, 5 Mar 2009 09:52:03 +0000 (10:52 +0100)
Modified Files:
src/Main/options.cxx

src/Main/options.cxx

index d1a03dc7c3eb96730e588592863e11ab2964c87d..3c09df562d6ebff428e80c21b11bcd8ba2fd93f3 100644 (file)
@@ -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