Browse Source

- apt-pkg/cdrom.cc: '%lu' expects 'long unsigned int', but argument

has type 'size_t';
debian/1.8.y
Otavio Salvador 15 years ago
parent
commit
9504f6f95b
  1. 4
      apt-pkg/cdrom.cc
  2. 2
      debian/changelog

4
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);

2
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.

Loading…
Cancel
Save