summaryrefslogtreecommitdiff
path: root/procps/sysctl.c
diff options
context:
space:
mode:
authorEric Andersen2006-01-30 22:48:39 +0000
committerEric Andersen2006-01-30 22:48:39 +0000
commita68ea1cb93c29125bc4f30ddd415fca02249e010 (patch)
tree5741be315758b807145c24da9ff3a1dbf8fce4e8 /procps/sysctl.c
parent9a58b02ec75caafb7214f1ad0317f9a4830cbd2a (diff)
downloadbusybox-a68ea1cb93c29125bc4f30ddd415fca02249e010.zip
busybox-a68ea1cb93c29125bc4f30ddd415fca02249e010.tar.gz
fix up yet more annoying signed/unsigned and mixed type errors
Diffstat (limited to 'procps/sysctl.c')
-rw-r--r--procps/sysctl.c2
1 files changed, 1 insertions, 1 deletions
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)