diff options
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 7ee56fbd9..c0101e635 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 dbb82e69c..b8835c0d8 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) |