summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-10-02 09:25:37 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2007-10-02 09:25:37 -0300
commit9504f6f95ba38205551275f94069799ce8683657 (patch)
treea2978d01b7a5627ef2657023fdfb8952618fd021
parent1450dbaaadb7f863c8d1191a10ef542b2809db03 (diff)
- apt-pkg/cdrom.cc: '%lu' expects 'long unsigned int', but argument
has type 'size_t';
-rw-r--r--apt-pkg/cdrom.cc4
-rw-r--r--debian/changelog2
2 files changed, 4 insertions, 2 deletions
diff --git a/apt-pkg/cdrom.cc b/apt-pkg/cdrom.cc
index 96106c7a9..b8f94e5b0 100644
--- a/apt-pkg/cdrom.cc
+++ b/apt-pkg/cdrom.cc
@@ -668,8 +668,8 @@ bool pkgCdrom::Add(pkgCdromStatus *log)
DropRepeats(TransList,"");
if(log) {
msg.str("");
- ioprintf(msg, _("Found %lu package indexes, %lu source indexes, "
- "%lu translation indexes and %lu signatures\n"),
+ ioprintf(msg, _("Found %u package indexes, %u source indexes, "
+ "%u translation indexes and %u signatures\n"),
List.size(), SourceList.size(), TransList.size(),
SigList.size());
log->Update(msg.str(), STEP_SCAN);
diff --git a/debian/changelog b/debian/changelog
index 08a60585c..61bb75129 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -59,6 +59,8 @@ apt (0.7.7) UNRELEASED; urgency=low
* Fix compilation warnings:
- apt-pkg/indexfile.cc: conversion from string constant to 'char*';
- apt-pkg/acquire-item.cc: likewise;
+ - apt-pkg/cdrom.cc: '%lu' expects 'long unsigned int', but argument
+ has type 'size_t';
[ Ian Jackson ]
* dpkg-triggers: Deal properly with new package states.