diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2007-10-02 09:21:58 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2007-10-02 09:21:58 -0300 |
commit | 1450dbaaadb7f863c8d1191a10ef542b2809db03 (patch) | |
tree | 91081ca0ed825330d2e24b6a657bd234a608920b | |
parent | bc36c37bdbcdda5fe4f641abbc5514d5f5c5e2a4 (diff) |
- apt-pkg/acquire-item.cc: likewise;
-rw-r--r-- | apt-pkg/acquire-item.cc | 2 | ||||
-rw-r--r-- | debian/changelog | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index a6d01e3bb..9c51184e6 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -704,7 +704,7 @@ void pkgAcqIndex::Done(string Message,unsigned long Size,string Hash, Local = true; string compExt = Desc.URI.substr(Desc.URI.size()-3); - char *decompProg; + const char *decompProg; if(compExt == "bz2") decompProg = "bzip2"; else if(compExt == ".gz") diff --git a/debian/changelog b/debian/changelog index 85a07a94d..08a60585c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -58,6 +58,7 @@ apt (0.7.7) UNRELEASED; urgency=low C. Litzenberger" <dlitz@dlitz.net> for the patch (closes: #441942) * Fix compilation warnings: - apt-pkg/indexfile.cc: conversion from string constant to 'char*'; + - apt-pkg/acquire-item.cc: likewise; [ Ian Jackson ] * dpkg-triggers: Deal properly with new package states. |