Silence warning in last patch.
authorEric Blake <ebb9@byu.net>
Wed, 13 Feb 2008 04:05:57 +0000 (21:05 -0700)
committerEric Blake <ebb9@byu.net>
Wed, 13 Feb 2008 04:05:57 +0000 (21:05 -0700)
* lib/quotearg.c (quotearg_buffer_restyled): Add missing const.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/quotearg.c

index ebf9e91..9059b31 100644 (file)
--- 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
index c2de86f..7d0c91d 100644 (file)
@@ -202,7 +202,7 @@ static size_t
 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;