Author: delphij
Date: Mon Dec 13 19:54:42 2010
New Revision: 216418
URL: http://svn.freebsd.org/changeset/base/216418
Log:
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
Modified:
head/usr.bin/printf/printf.c
Modified: head/usr.bin/printf/printf.c
==============================================================================
--- head/usr.bin/printf/printf.c Mon Dec 13 19:50:12 2010
(r216417)
+++ head/usr.bin/printf/printf.c Mon Dec 13 19:54:42 2010
(r216418)
@@ -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;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"