This should fix a wrong use of 'const'. I saw a warning while building Reuben's libpaper with --enable-relocatable.
2023-02-03 Bruno Haible <br...@clisp.org> relocatable-prog: Fix compiler warning. * lib/progreloc.c (full_read): Use a non-const pointer. diff --git a/lib/progreloc.c b/lib/progreloc.c index 8534fb08da..30b1f759b6 100644 --- a/lib/progreloc.c +++ b/lib/progreloc.c @@ -133,7 +133,7 @@ static size_t full_read (int fd, void *buf, size_t count) { size_t total = 0; - const char *ptr = (const char *) buf; + char *ptr = (char *) buf; while (count > 0) {