[MOAB-dev] r2884 - MOAB/trunk/mhdf/example
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Fri May 15 11:39:49 CDT 2009
Author: kraftche
Date: 2009-05-15 11:39:48 -0500 (Fri, 15 May 2009)
New Revision: 2884
Modified:
MOAB/trunk/mhdf/example/hexes_to_gmsh.c
Log:
fix build error
Modified: MOAB/trunk/mhdf/example/hexes_to_gmsh.c
===================================================================
--- MOAB/trunk/mhdf/example/hexes_to_gmsh.c 2009-05-12 18:15:10 UTC (rev 2883)
+++ MOAB/trunk/mhdf/example/hexes_to_gmsh.c 2009-05-15 16:39:48 UTC (rev 2884)
@@ -108,7 +108,7 @@
hid_t sparse_handle[2]; /* handle pair for sparse tag data */
unsigned* sparse_entities; /* temp storage of sparse tag file ids */
unsigned* sparse_ids; /* temp storage of GLOBAL_ID values in spasre tag */
- long numtag; /* number of entities for which tag data is available */
+ long junk, numtag; /* number of entities for which tag data is available */
long fileid, globalid; /* temporary values */
long ncount = 0, hcount = 0; /* temporary count of number of tag values */
@@ -200,7 +200,7 @@
/* Check for and read sparse-format tag data */
if (havesparse)
{
- mhdf_openSparseTagData( file, "GLOBAL_ID", &numtag, sparse_handle, sptr ); CHK_ERR(sptr);
+ mhdf_openSparseTagData( file, "GLOBAL_ID", &numtag, &junk, sparse_handle, sptr ); CHK_ERR(sptr);
sparse_entities = (unsigned*)malloc(numtag * sizeof(unsigned));
mhdf_readSparseTagEntities( sparse_handle[0], 0, numtag, H5T_NATIVE_UINT,
sparse_entities, sptr ); CHK_ERR(sptr);
More information about the moab-dev
mailing list