From dfaf9dd5bcf354f09fde7573b7042bb63d84fad0 Mon Sep 17 00:00:00 2001 From: Oliver Stöneberg Date: Fri, 31 Jan 2020 03:46:27 +0100 Subject: fixed some modernize-use-auto clang-tidy warnings (nw) (#6238) --- src/lib/util/hashing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/util/hashing.cpp') diff --git a/src/lib/util/hashing.cpp b/src/lib/util/hashing.cpp index 448cdc5d6ec..a5946f1ace8 100644 --- a/src/lib/util/hashing.cpp +++ b/src/lib/util/hashing.cpp @@ -284,7 +284,7 @@ void crc16_creator::append(const void *data, uint32_t length) 0x6e17, 0x7e36, 0x4e55, 0x5e74, 0x2e93, 0x3eb2, 0x0ed1, 0x1ef0 }; - const uint8_t *src = reinterpret_cast(data); + const auto *src = reinterpret_cast(data); // fetch the current value into a local and rip through the source data uint16_t crc = m_accum.m_raw; -- cgit v1.2.3-70-g09d2