Merge from master

This commit is contained in:
Wilson Snyder
2018-04-10 22:11:49 -04:00
12 changed files with 153 additions and 4 deletions
+2 -1
View File
@@ -220,7 +220,8 @@ uint64_t VHashSha1::digestUInt64() {
const string& binhash = digestBinary();
uint64_t out = 0;
for (size_t byte=0; byte<sizeof(uint64_t); ++byte) {
out = (out<<8) | binhash[byte];
unsigned char c = binhash[byte];
out = (out<<8) | c;
}
return out;
}