[MOAB-dev] commit/MOAB: iulian07: quick fix for 32 bit builds on octagon (mcs 32 bit machine)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Jan 8 22:12:32 CST 2014


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/11849588ef29/
Changeset:   11849588ef29
Branch:      master
User:        iulian07
Date:        2014-01-09 05:09:40
Summary:     quick fix for 32 bit builds on octagon (mcs 32 bit machine)
cast explicitly (ulong*) as (EntityHandle*)
the 32bit-handle builds on 64 bit machine are not supported anymore

Affected #:  1 file

diff --git a/src/SpatialLocator.cpp b/src/SpatialLocator.cpp
index f765ab9..36016c1 100644
--- a/src/SpatialLocator.cpp
+++ b/src/SpatialLocator.cpp
@@ -72,7 +72,7 @@ namespace moab
       locTable.enableWriteAccess();
 
         // pass storage directly into locate_points, since we know those arrays are contiguous
-      ErrorCode rval = locate_points(pos, num_points, locTable.vul_wr, locTable.vr_wr, NULL, rel_iter_tol, abs_iter_tol,
+      ErrorCode rval = locate_points(pos, num_points, (EntityHandle*)locTable.vul_wr, locTable.vr_wr, NULL, rel_iter_tol, abs_iter_tol,
                                      inside_tol);
       std::fill(locTable.vi_wr, locTable.vi_wr+num_points, 0);
       locTable.set_n(num_points);

Repository URL: https://bitbucket.org/fathomteam/moab/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the moab-dev mailing list