diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-02-27 01:54:10 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-03-13 13:58:45 +0100 |
commit | cf4ff3b78dc347188949370db914fe6329be6c99 (patch) | |
tree | 8c1d87cad9d7d1f22be37fada823688c72086f74 /apt-inst/contrib | |
parent | 3de8f956d5fcf023ab65f88579cd77121694d872 (diff) |
warning: cast from type A to type B casts away qualifiers [-Wcast-qual]
Git-Dch: Ignore
Reported-By: gcc -Wcast-qual
Diffstat (limited to 'apt-inst/contrib')
-rw-r--r-- | apt-inst/contrib/extracttar.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-inst/contrib/extracttar.cc b/apt-inst/contrib/extracttar.cc index 41301d1a6..41c509809 100644 --- a/apt-inst/contrib/extracttar.cc +++ b/apt-inst/contrib/extracttar.cc @@ -120,7 +120,7 @@ bool ExtractTar::StartGzip() int Pipes[2]; if (pipe(Pipes) != 0) return _error->Errno("pipe",_("Failed to create pipes")); - + // Fork off the process GZPid = ExecFork(); @@ -136,9 +136,9 @@ bool ExtractTar::StartGzip() dup2(Fd,STDERR_FILENO); close(Fd); SetCloseExec(STDOUT_FILENO,false); - SetCloseExec(STDIN_FILENO,false); + SetCloseExec(STDIN_FILENO,false); SetCloseExec(STDERR_FILENO,false); - + const char *Args[3]; string confvar = string("dir::bin::") + DecompressProg; string argv0 = _config->Find(confvar.c_str(),DecompressProg.c_str()); |