# HG changeset patch # User Eric Blake # Date 1202875557 25200 # Node ID 69f562691d3ce714b18935e653617e62e1856d33 # Parent f6f2dedca8158a63da72b5168461ef69c5930aee Silence warning in last patch. * lib/quotearg.c (quotearg_buffer_restyled): Add missing const. Signed-off-by: Eric Blake diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-02-12 Eric Blake + 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 diff --git a/lib/quotearg.c b/lib/quotearg.c --- 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;