diff options
author | Bruno Haible <bruno@clisp.org> | 2023-02-04 02:51:04 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-02-04 02:51:04 +0100 |
commit | d63ed09064c4165fcc65e5c8b7eea019c440941d (patch) | |
tree | 30ae41447f5f32857188e02ccead80e0420e175f /lib | |
parent | 8e6b22308a2e46a511d805927570c52beb51dea6 (diff) | |
download | gnulib-d63ed09064c4165fcc65e5c8b7eea019c440941d.tar.gz |
relocatable-prog: Fix compiler warning.
* lib/progreloc.c (full_read): Use a non-const pointer.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/progreloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |