diff options
author | Eric Andersen | 2006-01-30 22:48:39 +0000 |
---|---|---|
committer | Eric Andersen | 2006-01-30 22:48:39 +0000 |
commit | a68ea1cb93c29125bc4f30ddd415fca02249e010 (patch) | |
tree | 5741be315758b807145c24da9ff3a1dbf8fce4e8 /procps | |
parent | 9a58b02ec75caafb7214f1ad0317f9a4830cbd2a (diff) | |
download | busybox-a68ea1cb93c29125bc4f30ddd415fca02249e010.zip busybox-a68ea1cb93c29125bc4f30ddd415fca02249e010.tar.gz |
fix up yet more annoying signed/unsigned and mixed type errors
Diffstat (limited to 'procps')
-rw-r--r-- | procps/fuser.c | 4 | ||||
-rw-r--r-- | procps/sysctl.c | 2 |
2 files changed, 3 insertions, 3 deletions
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) |