[MOAB-dev] r5250 - MOAB/trunk/itaps/igeom
iulian at mcs.anl.gov
iulian at mcs.anl.gov
Thu Dec 8 23:07:36 CST 2011
Author: iulian
Date: 2011-12-08 23:07:34 -0600 (Thu, 08 Dec 2011)
New Revision: 5250
Modified:
MOAB/trunk/itaps/igeom/FBiGeom_MOAB.cpp
Log:
error in using the CHECK_SIZE macro
Modified: MOAB/trunk/itaps/igeom/FBiGeom_MOAB.cpp
===================================================================
--- MOAB/trunk/itaps/igeom/FBiGeom_MOAB.cpp 2011-12-08 22:04:21 UTC (rev 5249)
+++ MOAB/trunk/itaps/igeom/FBiGeom_MOAB.cpp 2011-12-09 05:07:34 UTC (rev 5250)
@@ -201,7 +201,8 @@
void FBiGeom_getArrType(FBiGeom_Instance instance,
iBase_EntityHandle const* entity_handles, int entity_handles_size,
int** type, int* type_allocated, int* type_size, int* err) {
- CHECK_SIZE(*type, *type_allocated, *type_size, int, NULL);
+ CHECK_SIZE(*type, *type_allocated, entity_handles_size, int, NULL);
+ *type_size=entity_handles_size;
int tmp_err;
More information about the moab-dev
mailing list