Skip to content

Commit

Permalink
Fix sandesh compilation error in ubuntu 16.04
Browse files Browse the repository at this point in the history
Change-Id: Iacbbf4c6e38cc4168e4c8e7dd7df3344fe638866
Closes-Bug: #1638636
  • Loading branch information
Sundaresan Rajangam committed Nov 9, 2016
1 parent 9641de5 commit 8b6c138
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library/cpp/derived_stats_algo.h
Expand Up @@ -274,7 +274,7 @@ class DSSum {
// We want each time bucket to represent between
// 1/128th and 1/256th of the entire range
// This ensures that there will never be more than 256 buckets
while ((1 << (shifter_ + 8)) < range_usecs_) shifter_++;
while ((uint64_t)(1 << (shifter_ + 8)) < range_usecs_) shifter_++;
}
}
uint64_t samples_;
Expand Down
1 change: 1 addition & 0 deletions library/cpp/protocol/TXMLProtocol.h
Expand Up @@ -10,6 +10,7 @@

#include <boost/shared_ptr.hpp>
#include <boost/tokenizer.hpp>
#include <boost/algorithm/string.hpp>

namespace contrail { namespace sandesh { namespace protocol {

Expand Down

0 comments on commit 8b6c138

Please sign in to comment.