]> git.saurik.com Git - apt.git/blobdiff - methods/gpgv.cc
merged from the dpkg-log branch
[apt.git] / methods / gpgv.cc
index 227e08d63123e2c51ba77966dc218e41f13f217c..2b1fa51691e26b9350f01f7b5ffcd9db22e22278 100644 (file)
@@ -121,9 +121,9 @@ string GPGVMethod::VerifyGetSigners(const char *file, const char *outfile,
       // Redirect the pipe to the status fd (3)
       dup2(fd[1], 3);
 
-      putenv("LANG=");
-      putenv("LC_ALL=");
-      putenv("LC_MESSAGES=");
+      putenv((char *)"LANG=");
+      putenv((char *)"LC_ALL=");
+      putenv((char *)"LC_MESSAGES=");
       execvp(gpgvpath.c_str(), (char **)Args);
              
       exit(111);