[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. 08ed00124d8b6b445d3b91a9aa15eec638b02f05

Clint Adams schizo at debian.org
Sun Nov 15 03:16:53 UTC 2009


The following commit has been merged in the upstream branch:
commit 39b0aa18b43e20feefc4e7d230e96e6e7045a077
Author: Clint Adams <schizo at debian.org>
Date:   Thu Oct 7 15:32:30 2004 +0000

    1.1.1
    
    fix a couple of signedness issues
    
    git-archimport-id: fakeroot at packages.debian.org--fakeroot/fakeroot--main--0.0--patch-28

diff --git a/faked.c b/faked.c
index 38cf226..2f69f46 100644
--- a/faked.c
+++ b/faked.c
@@ -713,7 +713,7 @@ void process_unlink(struct fake_msg *buf){
   }
 }
 
-void debugdata(int dummy){
+void debugdata(int dummy UNUSED){
   int stored_errno = errno;
   data_node_t *i;
 
@@ -756,7 +756,7 @@ void get_msg(const int listen_sd)
     if(r!=-1)
 #else /* FAKEROOT_FAKENET */
   while (1) {
-    int maxfd, count, i;
+    unsigned int maxfd, count, i;
 
     FD_ZERO(&readfds);
 
diff --git a/libfakeroot.c b/libfakeroot.c
index a17483b..20634af 100644
--- a/libfakeroot.c
+++ b/libfakeroot.c
@@ -161,7 +161,7 @@ static int env_set_id(const char *key, int id) {
   }
 }
 
-static void read_id(int *id, const char *key) {
+static void read_id(unsigned int *id, const char *key) {
   if (*id < 0)
     *id = env_get_id(key);
 }

-- 
fakeroot



More information about the Fakeroot-commits mailing list