summaryrefslogtreecommitdiff
path: root/zen/crc.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2016-10-29 11:41:53 +0200
committerDaniel Wilhelm <shieldwed@outlook.com>2016-10-29 11:41:53 +0200
commit7302bb4484d517a72cdffbd13ec7a9f2324cde01 (patch)
tree17d2964c6768d49510206836a496fb1802a63e08 /zen/crc.h
parent8.5 (diff)
downloadFreeFileSync-7302bb4484d517a72cdffbd13ec7a9f2324cde01.tar.gz
FreeFileSync-7302bb4484d517a72cdffbd13ec7a9f2324cde01.tar.bz2
FreeFileSync-7302bb4484d517a72cdffbd13ec7a9f2324cde01.zip
8.6
Diffstat (limited to 'zen/crc.h')
-rw-r--r--zen/crc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/crc.h b/zen/crc.h
index a11158d7..b617bdd0 100644
--- a/zen/crc.h
+++ b/zen/crc.h
@@ -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;
bgstack15