[Liblas-commits] hg: cast the classification # to an int and write
that out inste...
liblas-commits at liblas.org
liblas-commits at liblas.org
Tue Jan 4 13:09:37 EST 2011
details: http://hg.liblas.orghg/rev/96150eac6985
changeset: 2678:96150eac6985
user: Howard Butler <hobu.inc at gmail.com>
date: Tue Jan 04 12:09:30 2011 -0600
description:
cast the classification # to an int and write that out instead of a byte
diffstat:
apps/las2txt.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 9cd627290904 -r 96150eac6985 apps/las2txt.cpp
--- a/apps/las2txt.cpp Tue Jan 04 12:01:12 2011 -0600
+++ b/apps/las2txt.cpp Tue Jan 04 12:09:30 2011 -0600
@@ -213,7 +213,7 @@
break;
/* the classification */
case 'c':
- output << p.GetClassification().GetClass();
+ output << static_cast<boost::uint32_t>(p.GetClassification().GetClass());
break;
/* the classification name */
case 'C':
@@ -275,7 +275,7 @@
std::string GetHeader(liblas::Reader& reader)
{
- boost::ignore_unused_variable_warning(reader);
+ boost::ignore_unused_variable_warning(reader);
std::ostringstream oss;
More information about the Liblas-commits
mailing list