changeset 9701:69f562691d3c

Silence warning in last patch. * lib/quotearg.c (quotearg_buffer_restyled): Add missing const. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Tue, 12 Feb 2008 21:05:57 -0700
parents f6f2dedca815
children 11e548fe7d73
files ChangeLog lib/quotearg.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-02-12  Eric Blake  <ebb9@byu.net>
 
+	Silence warning in last patch.
+	* lib/quotearg.c (quotearg_buffer_restyled): Add missing const.
+
 	Quotearg part 4: add tests, fix c-maybe colon quoting.
 	* lib/quotearg.h: Improve documentation.
 	* lib/quotearg.c (quotearg_buffer_restyled): Don't add extra
--- a/lib/quotearg.c
+++ b/lib/quotearg.c
@@ -202,7 +202,7 @@
 quotearg_buffer_restyled (char *buffer, size_t buffersize,
 			  char const *arg, size_t argsize,
 			  enum quoting_style quoting_style, int flags,
-			  unsigned int *quote_these_too)
+			  unsigned int const *quote_these_too)
 {
   size_t i;
   size_t len = 0;