diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-01-30 22:48:39 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-01-30 22:48:39 +0000 |
commit | a68ea1cb93c29125bc4f30ddd415fca02249e010 (patch) | |
tree | 5741be315758b807145c24da9ff3a1dbf8fce4e8 /procps/sysctl.c | |
parent | 9a58b02ec75caafb7214f1ad0317f9a4830cbd2a (diff) | |
download | busybox-w32-a68ea1cb93c29125bc4f30ddd415fca02249e010.tar.gz busybox-w32-a68ea1cb93c29125bc4f30ddd415fca02249e010.tar.bz2 busybox-w32-a68ea1cb93c29125bc4f30ddd415fca02249e010.zip |
fix up yet more annoying signed/unsigned and mixed type errors
Diffstat (limited to 'procps/sysctl.c')
-rw-r--r-- | procps/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
209 | return -2; | 209 | return -2; |
210 | } | 210 | } |
211 | 211 | ||
212 | tmpname = bb_xasprintf("%s%.*s", PROC_PATH, (equals - name), name); | 212 | tmpname = bb_xasprintf("%s%.*s", PROC_PATH, (int)(equals - name), name); |
213 | outname = bb_xstrdup(tmpname + strlen(PROC_PATH)); | 213 | outname = bb_xstrdup(tmpname + strlen(PROC_PATH)); |
214 | 214 | ||
215 | while ((cptr = strchr(tmpname, '.')) != NULL) | 215 | while ((cptr = strchr(tmpname, '.')) != NULL) |