From: Eric Blake Date: Wed, 13 Feb 2008 04:05:57 +0000 (-0700) Subject: Silence warning in last patch. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbfa4bf04edfd584f04ae792b06e16d6a62bfdfb;p=pspp 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 index ebf9e91019..9059b3153f 100644 --- 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 index c2de86fcc2..7d0c91deef 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -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;