Changeset 3305

Show
Ignore:
Timestamp:
11/07/09 10:51:10 (2 weeks ago)
Author:
kraftche
Message:

fix test build issue with g++ 4.3 when sizeof(MBEntityHandle) != sizeof(void*)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • MOAB/trunk/TagTest.cpp

    r3289 r3305  
    16001600  rval = mb.create_vertices( &coords[0], coords.size()/3, verts ); 
    16011601  CHECK_ERR( rval ); 
    1602   CHECK_EQUAL( coords.size()/3, verts.size() ); 
     1602  CHECK_EQUAL( coords.size()/3, (size_t)verts.size() ); 
    16031603    // create one edge, which we should never get back from  
    16041604    // our queries with type == MBVERTEX 
     
    16631663  rval = mb.get_entities_by_type_and_tag( 0, MBVERTEX, &tag_sparse, ptrs, 1, result, MBInterface::INTERSECT ); 
    16641664  CHECK_ERR(rval); 
    1665   CHECK_EQUAL( (size_t)1, result.size() ); 
     1665  CHECK_EQUAL( (MBEntityHandle)1, result.size() ); 
    16661666  CHECK_EQUAL( sets[1].front(), result.front() ); 
    16671667