commit | a20ca4402464721a6b67bdef92b6dc78f46a3999 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Mar 14 16:31:14 2012 -0700 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Wed Mar 14 16:31:14 2012 -0700 |
tree | 6d52e8e924132c3670553b125cd3429df484eb3e | |
parent | 2247b306d9c9064c262aacbfff2f72e5ef034d3f [diff] |
A stupid bug with SyncDigest
diff --git a/model/sync-digest.cc b/model/sync-digest.cc index 3febf6d..4e632c8 100644 --- a/model/sync-digest.cc +++ b/model/sync-digest.cc
@@ -185,7 +185,7 @@ // just getting first sizeof(std::size_t) bytes // not ideal, but should work pretty well - return reinterpret_cast<std::size_t> (m_buffer); + return *(reinterpret_cast<std::size_t*> (m_buffer)); } bool