summaryrefslogtreecommitdiff
path: root/cmdline/apt-extracttemplates.cc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-10-02 09:39:05 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2007-10-02 09:39:05 -0300
commit70e6f24e3b39f7cc72cecab181b10c1f79474182 (patch)
treea4c67c840b5a33beeffac15c790c23de3245537a /cmdline/apt-extracttemplates.cc
parentb856433668b3ffeab82ae2712f2e672a5dca1396 (diff)
- cmdline/apt-extracttemplates.cc: likewise;
Diffstat (limited to 'cmdline/apt-extracttemplates.cc')
-rw-r--r--cmdline/apt-extracttemplates.cc2
1 files changed, 1 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)