The following commit has been merged in the master branch:
commit a23c74e708972c7e566ea8255728184393963825
Author: Guillem Jover <[email protected]>
Date:   Thu Aug 25 20:40:02 2011 +0200

    dpkg: Change type of variable r from int to ssize_t in conffderef()

diff --git a/src/configure.c b/src/configure.c
index 97689c1..4a38db0 100644
--- a/src/configure.c
+++ b/src/configure.c
@@ -375,7 +375,7 @@ conffderef(struct pkginfo *pkg, struct varbuf *result, 
const char *in)
 {
        static struct varbuf target = VARBUF_INIT;
        struct stat stab;
-       int r;
+       ssize_t r;
        int loopprotect;
 
        varbuf_reset(result);
@@ -424,7 +424,7 @@ conffderef(struct pkginfo *pkg, struct varbuf *result, 
const char *in)
                        varbuf_end_str(&target);
 
                        debug(dbg_conffdetail,
-                             "conffderef readlink gave %d, '%s'",
+                             "conffderef readlink gave %zd, '%s'",
                              r, target.buf);
 
                        if (target.buf[0] == '/') {

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to