Two patches from master were added to fix build failures seen on travis/void-linux/void-packages.
20 lines
653 B
Diff
20 lines
653 B
Diff
commit 70867bd7745f6ce3b776d06a25a36a34687072ee
|
|
Author: Duncaen <mail@duncano.de>
|
|
Date: Thu Jun 20 18:04:39 2019 +0200
|
|
|
|
lib/transaction_files.c: fix size_t printf
|
|
|
|
diff --git a/lib/transaction_files.c b/lib/transaction_files.c
|
|
index c9e15518..14cf7c22 100644
|
|
--- lib/transaction_files.c
|
|
+++ lib/transaction_files.c
|
|
@@ -194,7 +194,7 @@ can_delete_directory(struct xbps_handle *xhp, const char *file, size_t len, size
|
|
fcount -= 2;
|
|
|
|
if (fcount <= rmcount) {
|
|
- xbps_dbg_printf(xhp, "[files] only removed %lu out of %lu files: %s\n",
|
|
+ xbps_dbg_printf(xhp, "[files] only removed %zu out of %zu files: %s\n",
|
|
rmcount, fcount, file);
|
|
}
|
|
|