memlimit is defined as uint32_t, but was printed as %lu.
Change to %u to avoid a gcc warning.

Signed-off-by: Mark Wielaard <m...@klomp.org>
---
 rpmio/rpmio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c
index d8b8840..c7cbc32 100644
--- a/rpmio/rpmio.c
+++ b/rpmio/rpmio.c
@@ -839,7 +839,7 @@ static LZFILE *lzopen_internal(const char *mode, int fd, 
int xz)
 
                    if (threads != (int)mt_options.threads)
                        rpmlog(RPMLOG_NOTICE,
-                               "XZ: Adjusted the number of threads from %d to 
%d to not exceed the memory usage limit of %lu bytes",
+                               "XZ: Adjusted the number of threads from %d to 
%d to not exceed the memory usage limit of %u bytes",
                                threads, mt_options.threads, memlimit);
                }
 #endif
-- 
1.8.3.1

_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to