diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-12-02 14:10:56 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-12-02 14:17:27 +0100 |
commit | 1b79b5b983a6c775766bd0d1c7881042188998b8 (patch) | |
tree | f695f8298291fccb6db02bc705445909ba729039 /src/libutil/tarfile.cc | |
parent | faa31f40846f7a4dbc2487d000b112a6aef69d1b (diff) |
read(): Use char * instead of unsigned char *
This gets rid of some pointless casts.
Diffstat (limited to 'src/libutil/tarfile.cc')
-rw-r--r-- | src/libutil/tarfile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/tarfile.cc b/src/libutil/tarfile.cc index c4d8a4f91..2da169ba7 100644 --- a/src/libutil/tarfile.cc +++ b/src/libutil/tarfile.cc @@ -66,7 +66,7 @@ private: *buffer = self->buffer.data(); try { - return self->source->read(self->buffer.data(), 4096); + return self->source->read((char *) self->buffer.data(), 4096); } catch (EndOfFile &) { return 0; } catch (std::exception & err) { |