The following commit has been merged in the master branch:
commit ba55c16317a0568626028ce7eb84ae38130fbf2a
Author: Guillem Jover <[EMAIL PROTECTED]>
Date:   Sun Jun 1 21:11:15 2008 +0300

    libdpkg: Use size_t intead of int for the index to fix a warning

diff --git a/ChangeLog b/ChangeLog
index 43a6ec9..98d7fd3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-06-01  Guillem Jover  <[EMAIL PROTECTED]>
 
+       * lib/subproc.c (setup_subproc_signals): Use size_t intead of int
+       for the index, to fix a warning.
+       (cu_subproc_signals): Likewise.
+
+2008-06-01  Guillem Jover  <[EMAIL PROTECTED]>
+
        * src/query.c (searchfiles): Use strpbrk instead of strcspn and
        strlen.
 
diff --git a/lib/subproc.c b/lib/subproc.c
index 85a9162..944bbd7 100644
--- a/lib/subproc.c
+++ b/lib/subproc.c
@@ -35,7 +35,7 @@ static struct sigaction 
uncatch_signals[sizeof_array(catch_signals)];
 void
 setup_subproc_signals(const char *name)
 {
-       int i;
+       size_t i;
        struct sigaction catchsig;
 
        onerr_abort++;
@@ -54,7 +54,7 @@ setup_subproc_signals(const char *name)
 void
 cu_subproc_signals(int argc, void **argv)
 {
-       int i;
+       size_t i;
 
        for (i = 0; i < sizeof_array(catch_signals); i++) {
                if (sigaction(catch_signals[i], &uncatch_signals[i], NULL)) {

-- 
dpkg's main repository


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

Reply via email to