diff options
-rw-r--r-- | cmdline/apt-extracttemplates.cc | 2 | ||||
-rw-r--r-- | debian/changelog | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cmdline/apt-extracttemplates.cc b/cmdline/apt-extracttemplates.cc index 6d580cc28..de22386b9 100644 --- a/cmdline/apt-extracttemplates.cc +++ b/cmdline/apt-extracttemplates.cc @@ -249,7 +249,7 @@ string WriteFile(const char *package, const char *prefix, const char *data) { char fn[512]; static int i; - char *tempdir = NULL; + const char *tempdir = NULL; tempdir = getenv("TMPDIR"); if (tempdir == NULL) diff --git a/debian/changelog b/debian/changelog index 802f6f4d9..ad887b29e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -65,6 +65,7 @@ apt (0.7.7) UNRELEASED; urgency=low string constant to 'char*'; - methods/gpgv.cc: conversion from string constant to 'char*'; - methods/ftp.cc: likewise; + - cmdline/apt-extracttemplates.cc: likewise; [ Ian Jackson ] * dpkg-triggers: Deal properly with new package states. |