summaryrefslogtreecommitdiffstats
path: root/usr.bin/printf
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/printf')
-rw-r--r--usr.bin/printf/printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/printf/printf.c b/usr.bin/printf/printf.c
index 19b1ddd..53585af 100644
--- a/usr.bin/printf/printf.c
+++ b/usr.bin/printf/printf.c
@@ -92,7 +92,7 @@ static int getint(int *);
static int getnum(intmax_t *, uintmax_t *, int);
static const char
*getstr(void);
-static char *mknum(char *, int);
+static char *mknum(char *, char);
static void usage(void);
static char **gargv;
@@ -336,7 +336,7 @@ printf_doformat(char *start, int *rval)
}
static char *
-mknum(char *str, int ch)
+mknum(char *str, char ch)
{
static char *copy;
static size_t copy_size;
OpenPOWER on IntegriCloud