This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=450bc260bcfb4bda41f348f3b8c2c5f960a2b660

commit 450bc260bcfb4bda41f348f3b8c2c5f960a2b660
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Nov 16 04:31:26 2022 +0100

    dselect: Use %zd instead of %jd for pointer difference in format string
    
    Changelog: internal
    Warned-by: gcc-12
---
 dselect/pkginfo.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dselect/pkginfo.cc b/dselect/pkginfo.cc
index 36313c699..672beaf49 100644
--- a/dselect/pkginfo.cc
+++ b/dselect/pkginfo.cc
@@ -172,7 +172,7 @@ void packagelist::redrawinfo() {
   whatinfovb.reset();
   werase(infopad); wmove(infopad,0,0);
 
-  debug(dbg_general, "packagelist[%p]::redrawinfo(); #=%jd",
+  debug(dbg_general, "packagelist[%p]::redrawinfo(); #=%zd",
         this, currentinfo - baseinfo);
 
   (this->*currentinfo->display)();

-- 
Dpkg.Org's dpkg

Reply via email to