Replace a %ld with %lu to fix compiler warning.
2007-12-04 Frank Lichtenheld <djpig@debian.org>
+ * dpkg-deb/info.c (info_spew): Replace a
+ %ld with %lu to fix compiler warning.
+
* scripts/dpkg-genchanges.pl: Use comp_regex
from Dpkg to correctly exlucde the .orig.tar
even if it is not compressed with gzip.
pathlen = strlen(directory) + strlen(component) + 2;
controlfile = (void *) realloc((void *) controlfile, pathlen);
if (!controlfile)
- ohshite(_("realloc failed (%ld bytes)"), pathlen);
+ ohshite(_("realloc failed (%lu bytes)"), pathlen);
memset(controlfile, 0, sizeof(controlfile));
strcat(controlfile, directory);