From cbfa4bf04edfd584f04ae792b06e16d6a62bfdfb Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 12 Feb 2008 21:05:57 -0700 Subject: [PATCH] Silence warning in last patch. * lib/quotearg.c (quotearg_buffer_restyled): Add missing const. Signed-off-by: Eric Blake --- ChangeLog | 3 +++ lib/quotearg.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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; -- 2.30.2