commit | b7e4b88c0369526c912c39209a0c345c43bb454d | [log] [tgz] |
---|---|---|
author | Chaoyi Bian <tlyzbcy@gmail.com> | Wed Mar 14 17:23:58 2012 -0700 |
committer | Chaoyi Bian <tlyzbcy@gmail.com> | Wed Mar 14 17:23:58 2012 -0700 |
tree | bd121b5e981009fbd593b4cc7e8eed407b7aa3ae | |
parent | 9d8768a3351fc106cfa4456af90a3c7edf79c504 [diff] | |
parent | a20ca4402464721a6b67bdef92b6dc78f46a3999 [diff] |
Merge branch 'master' of git.irl.cs.ucla.edu:ndn/sync
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