[Liblas-commits] r1212 - trunk/src

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Apr 16 09:35:22 EDT 2009


Author: mloskot
Date: Thu Apr 16 09:35:22 2009
New Revision: 1212
URL: http://liblas.org/changeset/1212

Log:
Fixed unit8_t ambiguity in src/las_c_api.cpp on Unix. This fix is related to ticket #131.

Modified:
   trunk/src/las_c_api.cpp

Modified: trunk/src/las_c_api.cpp
==============================================================================
--- trunk/src/las_c_api.cpp	(original)
+++ trunk/src/las_c_api.cpp	Thu Apr 16 09:35:22 2009
@@ -548,7 +548,7 @@
     VALIDATE_LAS_POINTER1(hPoint, "LASPoint_GetClassification", 0);
 
     LASClassification::bitset_type clsflags(((LASPoint*) hPoint)->GetClassification());
-    liblas::uint8_t value = static_cast<uint8_t>(clsflags.to_ulong());
+    liblas::uint8_t value = static_cast<liblas::uint8_t>(clsflags.to_ulong());
     return value;
 }
 


More information about the Liblas-commits mailing list