[Liblas-commits] hg-1.6: backport fix for #214
liblas-commits at liblas.org
liblas-commits at liblas.org
Sun Feb 20 22:22:25 EST 2011
details: http://hg.liblas.orghg-1.6/rev/b32f6e0525dc
changeset: 2850:b32f6e0525dc
user: Howard Butler <hobu.inc at gmail.com>
date: Sun Feb 20 21:22:11 2011 -0600
description:
backport fix for #214
diffstat:
src/point.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r d3de717cd0b7 -r b32f6e0525dc src/point.cpp
--- a/src/point.cpp Thu Feb 17 12:41:02 2011 -0600
+++ b/src/point.cpp Sun Feb 20 21:22:11 2011 -0600
@@ -560,7 +560,7 @@
std::vector<boost::uint8_t>::size_type pos = 12;
#ifdef LIBLAS_ENDIAN_AWARE
- boost::uint16_t output = liblas::detail::bitsToInt<boost::int32_t>(output, m_data, pos);
+ boost::int32_t output = liblas::detail::bitsToInt<boost::int32_t>(output, m_data, pos);
return output
#else
boost::uint8_t* data = const_cast<boost::uint8_t*>(&m_data[0] + pos);
@@ -788,7 +788,7 @@
std::vector<boost::uint8_t>::size_type pos = 18;
#ifdef LIBLAS_ENDIAN_AWARE
- boost::uint16_t output = liblas::detail::bitsToInt<boost::int32_t>(output, m_data, pos);
+ boost::int32_t output = liblas::detail::bitsToInt<boost::int32_t>(output, m_data, pos);
return output
#else
boost::uint8_t* data = const_cast<boost::uint8_t*>(&m_data[0] + pos);
More information about the Liblas-commits
mailing list