[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 4/4] Fixup for -Werror=ignored-qualifiers issues
From: |
Robbie Harwood |
Subject: |
[PATCH v3 4/4] Fixup for -Werror=ignored-qualifiers issues |
Date: |
Wed, 5 Jan 2022 17:12:29 -0500 |
From: Peter Jones <pjones@redhat.com>
Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
---
lib/argp-fmtstream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/argp-fmtstream.c b/lib/argp-fmtstream.c
index 0de1ac374e..57fc955a20 100644
--- a/lib/argp-fmtstream.c
+++ b/lib/argp-fmtstream.c
@@ -119,7 +119,7 @@ weak_alias (__argp_fmtstream_free, argp_fmtstream_free)
/* Return the pointer to the first character that doesn't fit in l columns. */
-static inline const ptrdiff_t
+static inline ptrdiff_t
add_width (const char *ptr, const char *end, size_t l)
{
mbstate_t ps;
--
2.34.1