[Liblas-commits] hg: try to fix classification loading for las2oci

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Dec 29 11:23:02 EST 2010


details:   http://hg.liblas.orghg/rev/584a7b369fa2
changeset: 2654:584a7b369fa2
user:      Howard Butler <hobu.inc at gmail.com>
date:      Wed Dec 29 10:22:55 2010 -0600
description:
try to fix classification loading for las2oci

diffstat:

 apps/kdx_util.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 6a7c1e7bc7ff -r 584a7b369fa2 apps/kdx_util.cpp
--- a/apps/kdx_util.cpp	Wed Dec 29 08:53:10 2010 -0600
+++ b/apps/kdx_util.cpp	Wed Dec 29 10:22:55 2010 -0600
@@ -151,7 +151,7 @@
     // Classification is only a single byte, but 
     // we need to store it in an 8 byte big-endian 
     // double to satisfy OPC
-    for (int i = sizeof(double) - 1; i >= 0; i--) {
+    for (int i = sizeof(boost::uint8_t) - 1; i >= 0; i--) {
         point_data.push_back(c_b[i]);
     }
 


More information about the Liblas-commits mailing list