fix up yet more annoying signed/unsigned and mixed type errors
This commit is contained in:
1 parent
9a58b02ec7
commit
a68ea1cb93
13 files changed
+49
-46
No files matched your search
+1
-1
@@ -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