[Liblas-commits] hg: use boost::uint64_t for bitset constructor
liblas-commits at liblas.org
liblas-commits at liblas.org
Thu Sep 2 11:09:37 EDT 2010
changeset d2fbecaa0842 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=d2fbecaa0842
summary: use boost::uint64_t for bitset constructor
diffstat:
src/lasclassification.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r fe0c4ce5bb7d -r d2fbecaa0842 src/lasclassification.cpp
--- a/src/lasclassification.cpp Thu Sep 02 08:42:09 2010 -0500
+++ b/src/lasclassification.cpp Thu Sep 02 10:09:26 2010 -0500
@@ -106,7 +106,7 @@
{
bitset_type bits(m_flags);
- bitset_type const mask(static_cast<unsigned long>(class_table_size) - 1);
+ bitset_type const mask(static_cast<boost::uint64_t>(class_table_size) - 1);
bits &= mask;
uint32_t const index = static_cast<uint32_t>(bits.to_ulong());
More information about the Liblas-commits
mailing list