diff options
author | Max Kellermann <max@musicpd.org> | 2020-02-01 13:55:08 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-02-01 14:02:43 +0100 |
commit | 72ec641f0d5a33de882a05a53e2f3a3b74226eb3 (patch) | |
tree | d52d290cab7f7cbec7e67ebb0f7998962cdae534 /src/fs/io | |
parent | 4f22f4d357c99ba4163a496882f813138db3c39b (diff) |
*: use `auto`
Diffstat (limited to 'src/fs/io')
-rw-r--r-- | src/fs/io/AutoGunzipReader.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/io/AutoGunzipReader.cxx b/src/fs/io/AutoGunzipReader.cxx index a5bbd7516..ce311809d 100644 --- a/src/fs/io/AutoGunzipReader.cxx +++ b/src/fs/io/AutoGunzipReader.cxx @@ -36,7 +36,7 @@ IsGzip(const uint8_t data[4]) noexcept inline void AutoGunzipReader::Detect() { - const uint8_t *data = (const uint8_t *)peek.Peek(4); + const auto *data = (const uint8_t *)peek.Peek(4); if (data == nullptr) { next = &peek; return; |