Revision 348 trunk/src/linad99/gradchk.cpp

gradchk.cpp (revision 348)
24 24
  }    // current is one past the end so -- it
25 25
  else
26 26
  {
27
#if defined(__SUNPRO_CC) && defined(__x86_64)
28
    cout << long(gradient_structure::GRAD_STACK1->ptr)
29
       -long(gradient_structure::GRAD_STACK1->ptr_first)
27
#if defined(__x86_64)
28
    cout << intptr_t(gradient_structure::GRAD_STACK1->ptr)
29
            - intptr_t(gradient_structure::GRAD_STACK1->ptr_first)
30 30
#else
31 31
    cout << int(gradient_structure::GRAD_STACK1->ptr)
32 32
       -int(gradient_structure::GRAD_STACK1->ptr_first)

Also available in: Unified diff