A few code reorganizations
Change-Id: If4632fecc7085e5448226c2061e08546757eda9b
diff --git a/core/auditor.cpp b/core/auditor.cpp
index b2db2b7..ce17b04 100644
--- a/core/auditor.cpp
+++ b/core/auditor.cpp
@@ -23,7 +23,8 @@
#include <ndn-cxx/util/digest.hpp>
-namespace nsl {
+namespace ndn {
+namespace delorean {
bool
Auditor::doesExist(const NonNegativeInteger& seqNo,
@@ -74,7 +75,7 @@
size_t childLevel = 0;
ndn::ConstBufferPtr childHash = hash;
- NonNegativeInteger parentSeqMask = (~0) << 1;
+ NonNegativeInteger parentSeqMask = (~0ul) << 1;
NonNegativeInteger parentSeqNo = childSeqNo & parentSeqMask;
size_t parentLevel = 1;
@@ -237,4 +238,5 @@
return true;
}
-} // namespace nsl
+} // namespace delorean
+} // namespace ndn