summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tool_help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_help.c b/src/tool_help.c
index d4c21ff6e..d49cccd05 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -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);
}
}