mirror of
https://github.com/curl/curl.git
synced 2025-03-07 15:27:17 +08:00
print_category: printf %*s needs an int argument
... not a size_t! Detected by Coverity: CID 1492331. Closes #7823
This commit is contained in:
parent
5044909ca2
commit
8dd0f1aa46
@ -134,7 +134,7 @@ static void print_category(curlhelp_t category)
|
||||
|
||||
for(i = 0; helptext[i].opt; ++i)
|
||||
if(helptext[i].categories & category) {
|
||||
printf(" %-*s %s\n", longopt, helptext[i].opt, helptext[i].desc);
|
||||
printf(" %-*s %s\n", (int)longopt, helptext[i].opt, helptext[i].desc);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user