From 1450dbaaadb7f863c8d1191a10ef542b2809db03 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 2 Oct 2007 09:21:58 -0300 Subject: - apt-pkg/acquire-item.cc: likewise; --- apt-pkg/acquire-item.cc | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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" 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. -- cgit v1.2.3