[Liblas-commits] hg: need to cast to a double to satisfy Oracle
liblas-commits at liblas.org
liblas-commits at liblas.org
Wed Dec 29 13:57:15 EST 2010
details: http://hg.liblas.orghg/rev/fd5a4a275c66
changeset: 2656:fd5a4a275c66
user: Howard Butler <hobu.inc at gmail.com>
date: Wed Dec 29 12:57:06 2010 -0600
description:
need to cast to a double to satisfy Oracle
diffstat:
apps/kdx_util.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 00fb5731d2ad -r fd5a4a275c66 apps/kdx_util.cpp
--- a/apps/kdx_util.cpp Wed Dec 29 10:50:41 2010 -0600
+++ b/apps/kdx_util.cpp Wed Dec 29 12:57:06 2010 -0600
@@ -113,7 +113,7 @@
// std::cout.precision(6);
// std::cout.setf(std::ios::fixed);
// // std::cout << "X: " << x << " y: " << y << " z: " << z << std::endl;
- boost::uint8_t c = p.GetClassification().GetClass();
+ double c = static_cast<double>(p.GetClassification().GetClass());
boost::uint8_t* x_b = reinterpret_cast<boost::uint8_t*>(&x);
boost::uint8_t* y_b = reinterpret_cast<boost::uint8_t*>(&y);
More information about the Liblas-commits
mailing list