Revision 348 trunk/src/linad99/gradstrc.cpp

gradstrc.cpp (revision 348)
428 428
  
429 429
   //cout << (void*) ARRAY_MEMBLOCK_BASE.ptr  << "   ";
430 430
   //cout << (int) ARRAY_MEMBLOCK_BASE.ptr  << endl;
431
#if defined(__SUNPRO_CC) && defined(__x86_64)
432
   long adjustment=(8-((long)ARRAY_MEMBLOCK_BASE.ptr)%8)%8;
431
#if defined(__x86_64)
432
   intptr_t adjustment=(8-((intptr_t)ARRAY_MEMBLOCK_BASE.ptr)%8)%8;
433 433
#else
434 434
   int adjustment=(8-((int) ARRAY_MEMBLOCK_BASE.ptr)%8)%8;
435 435
#endif

Also available in: Unified diff