The following commit has been merged in the master branch:
commit d756afcce4fa361871d36a469fe9f28f3cb1b10b
Author: Guillem Jover <[email protected]>
Date:   Fri Feb 5 20:08:28 2010 +0100

    libdpkg: Use %zu instead of %d in varbuf_grow's internerr call

diff --git a/lib/dpkg/varbuf.c b/lib/dpkg/varbuf.c
index 4b3d7e3..c7a9ff1 100644
--- a/lib/dpkg/varbuf.c
+++ b/lib/dpkg/varbuf.c
@@ -119,7 +119,7 @@ varbuf_grow(struct varbuf *v, size_t need_size)
 {
   /* Make sure the varbuf is in a sane state. */
   if (v->size < v->used)
-    internerr("inconsistent varbuf: size(%d) < used(%d)", v->size, v->used);
+    internerr("inconsistent varbuf: size(%zu) < used(%zu)", v->size, v->used);
 
   /* Check if we already have enough room. */
   if ((v->size - v->used) >= need_size)

-- 
dpkg's main repository


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

Reply via email to