From a68ea1cb93c29125bc4f30ddd415fca02249e010 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 30 Jan 2006 22:48:39 +0000 Subject: fix up yet more annoying signed/unsigned and mixed type errors --- procps/fuser.c | 4 ++-- procps/sysctl.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'procps') diff --git a/procps/fuser.c b/procps/fuser.c index 7ee56fb..c0101e6 100644 --- a/procps/fuser.c +++ b/procps/fuser.c @@ -143,7 +143,7 @@ static int fuser_scan_proc_net(int opts, const char *proto, char addr[128]; ino_t tmp_inode; dev_t tmp_dev; - uint64_t uint64_inode; + long long uint64_inode; int tmp_port; FILE *f; @@ -194,7 +194,7 @@ static int fuser_scan_pid_maps(int opts, const char *fname, pid_t pid, char line[FUSER_MAX_LINE + 1]; int major, minor; ino_t inode; - uint64_t uint64_inode; + long long uint64_inode; dev_t dev; if (!(file = fopen(fname, "r"))) return 0; diff --git a/procps/sysctl.c b/procps/sysctl.c index dbb82e6..b8835c0 100644 --- a/procps/sysctl.c +++ b/procps/sysctl.c @@ -209,7 +209,7 @@ int sysctl_write_setting(const char *setting, int output) return -2; } - tmpname = bb_xasprintf("%s%.*s", PROC_PATH, (equals - name), name); + tmpname = bb_xasprintf("%s%.*s", PROC_PATH, (int)(equals - name), name); outname = bb_xstrdup(tmpname + strlen(PROC_PATH)); while ((cptr = strchr(tmpname, '.')) != NULL) -- cgit v1.1