fix up yet more annoying signed/unsigned and mixed type errors

This commit is contained in:
Eric Andersen
2006-01-30 22:48:39 +00:00
parent 9a58b02ec7
commit a68ea1cb93
13 changed files with 49 additions and 46 deletions

View File

@ -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)