[Liblas-commits] hg-main-tree: return the proper type for getField
liblas-commits at liblas.org
liblas-commits at liblas.org
Tue Jun 14 12:00:26 EDT 2011
details: http://hg.libpc.orghg-main-tree/rev/03200c0ec8b3
changeset: 784:03200c0ec8b3
user: Howard Butler <hobu.inc at gmail.com>
date: Tue Jun 14 11:00:21 2011 -0500
description:
return the proper type for getField
diffstat:
src/drivers/oci/Writer.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (16 lines):
diff -r 3b1897f0d597 -r 03200c0ec8b3 src/drivers/oci/Writer.cpp
--- a/src/drivers/oci/Writer.cpp Tue Jun 14 10:58:38 2011 -0500
+++ b/src/drivers/oci/Writer.cpp Tue Jun 14 11:00:21 2011 -0500
@@ -1020,9 +1020,9 @@
boost::uint16_t red(0), green(0), blue(0), alpha(0);
if (hasColorData)
{
- red = buffer.getField<double>(counter, indexRed);
- green = buffer.getField<double>(counter, indexGreen);
- blue = buffer.getField<double>(counter, indexBlue);
+ red = buffer.getField<boost::uint16_t>(counter, indexRed);
+ green = buffer.getField<boost::uint16_t>(counter, indexGreen);
+ blue = buffer.getField<boost::uint16_t>(counter, indexBlue);
}
More information about the Liblas-commits
mailing list