[Liblas-commits] hg-main-tree: fix ambiguous resolution (vs2010)

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Jun 22 13:08:02 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/5f7b1cc3bfa7
changeset: 799:5f7b1cc3bfa7
user:      Michael P. Gerlek <mpg at flaxen.com>
date:      Wed Jun 22 10:06:56 2011 -0700
description:
fix ambiguous resolution (vs2010)

diffstat:

 src/drivers/oci/Writer.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8795c7220d14 -r 5f7b1cc3bfa7 src/drivers/oci/Writer.cpp
--- a/src/drivers/oci/Writer.cpp	Wed Jun 22 10:03:07 2011 -0700
+++ b/src/drivers/oci/Writer.cpp	Wed Jun 22 10:06:56 2011 -0700
@@ -1252,7 +1252,7 @@
     // bool gotdata = GetResultData(result, reader, data, 3);
     // if (! gotdata) throw std::runtime_error("unable to fetch point data byte array");
 
-    statement->Bind((char*)point_data,(long)buffer.getSchemaLayout().getByteSize()*buffer.getNumPoints());
+    statement->Bind((char*)point_data,(long)(buffer.getSchemaLayout().getByteSize()*buffer.getNumPoints()));
 
     // :5
     long* p_gtype = (long*) malloc (1 * sizeof(long));


More information about the Liblas-commits mailing list