summaryrefslogtreecommitdiff
path: root/pith/help.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-07-26 23:36:30 -0600
committerEduardo Chappa <chappa@washington.edu>2015-07-26 23:36:30 -0600
commit2695b63fbe6c6a2206a2637137c6cd654f69943a (patch)
tree717008efdac9ae66bf33985dc99ee68aea45bf11 /pith/help.c
parent36b77661542a63c4579943951d143c8cc9c99460 (diff)
downloadalpine-2695b63fbe6c6a2206a2637137c6cd654f69943a.tar.xz
* Clear even more warnings from clang 3.5 and MAC OSX.
Diffstat (limited to 'pith/help.c')
-rw-r--r--pith/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/help.c b/pith/help.c
index 1c1b9ab1..82917134 100644
--- a/pith/help.c
+++ b/pith/help.c
@@ -40,7 +40,7 @@ help_name2section(char *url, int url_len)
HelpType newhelp = NO_HELP;
struct help_texts *t;
- snprintf(name, sizeof(name), "%.*s", MIN(url_len,sizeof(name)), url);
+ snprintf(name, sizeof(name), "%.*s", (int) MIN(url_len,sizeof(name)), url);
for(t = h_texts; t->help_text != NO_HELP; t++)
if(!strucmp(t->tag, name)){