The only caller of mknum() provides a char instead of an int, so make it
match the definition. PR: bin/152934 Submitted by: Pedro F. Giffuni <giffunip tutopia.com> Obtained from: Illumos
This commit is contained in:
parent
c9aca921b8
commit
9180853b89
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216418
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user