fix up yet more annoying signed/unsigned and mixed type errors
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user