mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-03-12 16:05:03 +02:00
* gl/lib/mbsalign.c (mbsalign): Mark unused parameter. * bootstrap.conf (gnulib_modules): Remove obsolete rename-dest-slash. * gnulib-tests/Makefile.am (AM_CFLAGS): Reduce set of warnings for gnulib tests. * gl/modules/rename-tests.diff (Makefile.am): New file, to add LIBINTL to LDADD, since we avoid canonicalize-lgpl module. * gl/lib/regcomp.c.diff (regerror, calc_next) (build_collating_symbol, parse_bracket_element, build_equiv_class) (free_tree): Mark unused parameters. * gl/lib/regex_internal.h.diff (re_string_elem_size_at): New file, to mark unused parameters. * gl/lib/printf-args.c.diff (PRINTF_FETCHARGS): New file, to avoid type mismatch. * gl/lib/vasnprintf.c (VASNPRINTF): New file, to avoid shadowing local variable name. * .gitignore: Ignore temporary build artifacts.
22 lines
765 B
Diff
22 lines
765 B
Diff
diff --git a/lib/printf-args.c b/lib/printf-args.c
|
|
index 4978914..e994239 100644
|
|
--- a/lib/printf-args.c
|
|
+++ b/lib/printf-args.c
|
|
@@ -1,5 +1,6 @@
|
|
/* Decomposed printf argument list.
|
|
- Copyright (C) 1999, 2002-2003, 2005-2007 Free Software Foundation, Inc.
|
|
+ Copyright (C) 1999, 2002-2003, 2005-2007, 2009 Free Software
|
|
+ Foundation, Inc.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
@@ -89,7 +90,7 @@ PRINTF_FETCHARGS (va_list args, arguments *a)
|
|
where wint_t is 'unsigned short'. */
|
|
ap->a.a_wide_char =
|
|
(sizeof (wint_t) < sizeof (int)
|
|
- ? va_arg (args, int)
|
|
+ ? (wint_t) va_arg (args, int)
|
|
: va_arg (args, wint_t));
|
|
break;
|
|
#endif
|