diff options
Diffstat (limited to 'zen/crc.h')
-rw-r--r-- | zen/crc.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ uint32_t getCrc32(ByteIterator first, ByteIterator last) static_assert(sizeof(typename std::iterator_traits<ByteIterator>::value_type) == 1, ""); boost::crc_32_type result; if (first != last) - result.process_bytes(&*first, last - first); + result.process_bytes(&*first, last - first); auto rv = result.checksum(); static_assert(sizeof(rv) == sizeof(uint32_t), ""); return rv; |