]> git.saurik.com Git - apt.git/commitdiff
- apt-pkg/acquire-item.cc: likewise;
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 2 Oct 2007 12:21:58 +0000 (09:21 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 2 Oct 2007 12:21:58 +0000 (09:21 -0300)
apt-pkg/acquire-item.cc
debian/changelog

index a6d01e3bb01cdd0a98f7c64b1667e3f95a5b9e16..9c51184e6d261a414c24f8fa42547aff0cb98f6e 100644 (file)
@@ -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") 
index 85a07a94df3f5b95f42c3e68de2f52cc354c2baf..08a60585c0c12ff6610e00a52de08875372a27ba 100644 (file)
@@ -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.